SELECT 
  jmj_product_descriptions.product_id, 
  jmj_product_descriptions.short_description, 
  IF(
    jmj_product_descriptions.short_description = '' 
    OR jmj_product_descriptions.short_description IS NULL, 
    jmj_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  jmj_product_descriptions 
WHERE 
  jmj_product_descriptions.product_id IN (
    1701, 1708, 1726, 1694, 1693, 1712, 1715, 
    1716, 1718, 1724, 1722, 1736
  ) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.02200

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.81"
    },
    "table": {
      "table_name": "jmj_product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 12,
      "rows_produced_per_join": 12,
      "filtered": "100.00",
      "index_condition": "((`jmj_test`.`jmj_product_descriptions`.`product_id` in (1701,1708,1726,1694,1693,1712,1715,1716,1718,1724,1722,1736)) and (`jmj_test`.`jmj_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "26.41",
        "eval_cost": "2.40",
        "prefix_cost": "28.81",
        "data_read_per_join": "45K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
1693 <p></p><ul><li>Colour: pink</li><li>Floral printed</li><li>Square neck</li><li>Three-quarter, regular sleeves</li><li>Straight shape with regular style</li><li>Knee length with straight hem</li><li>Machine weave regular cotton</li></ul>
1694 <p></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <ul><li>Light shade, heavy fade blue jeans</li><li>Slim fit, mid-rise</li><li>Brand Fit: narrow</li><li>Low distress</li><li>Non stretchable</li><li>5 pocket</li><li>Length: regular</li></ul>
1701 <p></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Lavender mid-rise printed capris, waistband with drawstring closure, 2 pocket</p>
1708 <p></p> <h4></h4>
1712 <p><strong></strong></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <ul><li>Red and white kurta</li><li>Bandhani printed </li><li>Round neck</li><li>Three quarter regular sleeves</li><li>Regular design styling</li><li>Straight shape</li><li>Thread work detail</li><li>Calf length with Straight hem</li><li>Machine weave regular Rayon</li></ul> <p><strong></strong></p>
1715 <p></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Olive green & white embroidered Kurta with Trousers</p>
1716
1718
1722
1724
1726
1736 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Pink & white barbie typography printed mid-rise regular shorts, has 2 pockets, has an elasticated waistband with drawstring closure</p> <h4>Material & Care</h4> <p>Cotton & Polyester <br />Hand Wash</p>