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, 1694, 1736, 1706, 1710, 1698, 
    1585, 1591, 1583, 1586, 1589
  ) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.01030

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,1694,1736,1706,1710,1698,1585,1591,1583,1586,1589)) 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
1583
1585 <p><b>Capris</b></p>
1586 <p><b>Shorts</b></p>
1589 <p><b>Skirts</b></p>
1591 <p><b>Dungarees</b></p>
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>
1698 <p></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Off white conversational printed regular-fit mid-rise bootcut trousers, has a elasticated waistband with slip-on closure</p>
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>
1706 <p></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Black solid flared mini skirt with pleated detail, has an elasticated waistband with slip-on closure, and a flared hem</p>
1708 <p></p> <h4></h4>
1710 <p></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Lavender solid flared mid-rise track pant with front striped, has an elasticated waistband with drawstring closure and two pockets</p>
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>