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 (1662, 1578, 1582) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.01030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "7.21"
    },
    "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": 3,
      "rows_produced_per_join": 3,
      "filtered": "100.00",
      "index_condition": "((`jmj_test`.`jmj_product_descriptions`.`product_id` in (1662,1578,1582)) and (`jmj_test`.`jmj_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "6.61",
        "eval_cost": "0.60",
        "prefix_cost": "7.21",
        "data_read_per_join": "11K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
1578 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue and gold-toned ethnic motifs woven design unstitched dress material, zari<br />Blue and gold-toned ethnic motifs woven design kurta fabric<br />Blue and gold-toned solid bottom fabric<br />Blue and gold-toned woven design dupatta<br />has Disclaimer: Images are for referral purposes only. The actual product is unstitched</p> <h4>Size & Fit</h4> <p>Suit ( Top ) - 2.40 Meters, Salwar ( Bottom ) - 3.60 Meters & Dupatta - 2.30 Meters</p> <h4>Material & Care</h4> <p>Top Fabric: Art Silk<br />Bottom Fabric: Cotton Blend<br />Dupatta Fabric: Art Silk<br />Machine Wash</p>
1582 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Brown and gold tone embroidered unstitched dress material<br />Brown and gold tone embroidered kurta fabric<br />Brown and gold tone solid bottom fabric<br />Brown and gold tone printed dupatta<br />Disclaimer: Images are for referral purposes only. The actual product is unstitched</p> <h4>Size & Fit</h4> <p>Kurta: 2.00 mtr<br />Bottom: 2.40 mtr<br />Dupatta: 2.30 mtr</p> <h4>Material & Care</h4> <p>Kurta: Cotton Blend<br />Bottom: Shantoon<br />Dupatta: Cotton Blend<br />Machine Wash</p>
1662 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue and gold-toned printed unstitched dress material<br />Blue and gold-toned printed kurta fabric<br />Blue and gold-toned printed bottom fabric<br />Blue and gold-toned printed dupatta, has tassels border<br />Disclaimer: Images are for referral purposes only. The actual product is unstitched</p> <h4>Size & Fit</h4> <p>Top: 2.25 Mtr.<br />Bottom: 2 .20Mtr.<br />Dupatta: 2.10 Mtr.<br />Unstitched Dress Material can be stitched upto XXL</p> <h4>Material & Care</h4> <p>Cotton<br />Machine Wash</p>