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 (
    1654, 1662, 1682, 1675, 1511, 1517, 1523, 
    1526, 1645, 1647, 1670, 1659
  ) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.00070

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 (1654,1662,1682,1675,1511,1517,1523,1526,1645,1647,1670,1659)) 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
1511 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Colour: green</li><li>Solid</li><li>V-neck</li><li>Three-quarter, regular sleeves</li><li>Straight shape with regular style</li><li>Zari detail</li><li>Calf length with straight hem</li><li>Machine weave regular Linen Cotton</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Linen Cotton<br />Hand Wash</p> <p></p>
1517 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Green kurta</li><li>Solid</li><li>Mandarin Collar</li><li>Three quarter, regular sleeves</li><li>Straight shape</li><li>Regular style</li><li>Calf-length with straight hem</li><li>Machine weave regular viscose rayon</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8'') is wearing a size S</p> <h4>Material & Care</h4> <p>Viscose Rayon<br />Machine Wash</p> <p></p>
1523 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Red Printed Kurta with Trousers & Dupatta<br />Floral - Printed - Red Kurta<br />Straight Shape<br />Round Neck<br />Three-quarter sleeves<br />Slip-On Closure</p> <h4>Size & Fit</h4> <p>The model (height 5.8') is wearing a size S</p> <h4>Material & Care</h4> <p>Top Fabric: Viscose Rayon<br />Bottom Fabric: Viscose Rayon<br />Dupatta Fabric: Organza<br />Dry Clean</p><p></p>
1526 <p><span style="font-size:21px;font-weight:700;"></span></p><h4>Product Details <span class="myntraweb-sprite pdp-productDetailsIcon sprites-productDetailsIcon"></span></h4> <p>Purple and gold toned embroidered Kurta with Trousers and dupatta<br /><br /><b>Kurta design:</b></p> <ul><li>Floral embroidered</li><li>Straight shape</li><li>Regular style</li><li>Notch neck , three-quarter regular sleeves</li><li>Thread work detail</li><li>Calf length with straight hem</li><li>Chanderi silk machine weave fabric</li></ul> <p><b>Trousers design:</b><br /></p><ul><li>Solid Trousers</li><li>Partially elasticated waistband</li><li>Slip on closure</li></ul> <p><b>Dupatta design : </b><br /></p><ul><li>Solid dupatta </li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Kurta fabric : Chanderi Silk<br />Bottom fabric : Silk Blend <br />Dupatta Fabric :  Silk Blend<br />Dry Clean</p><p></p>
1645 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Colour: blue</li><li>Abstract printed</li><li>Round neck</li><li>Three-quarter, regular sleeves</li><li>Straight shape with regular style</li><li>Calf length with straight hem</li><li>Knitted and woven regular denim</li></ul> <h4>Size & Fit</h4> <p><br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Denim<br />Hand wash</p>
1647 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Women Violet Solid Skinny Fit Casual High Ankle Cropped Leggings</p> <h4>Size & Fit</h4> <p>These leggings offer a snug, body-hugging fit with a high-stretch fabric that moves with you. The cotton-rich blend provides softness and breathability, while Lycra ensures excellent shape retention,True to size we recommend ordering your usual size,High-rise waistband for a flattering silhouette and added support,Anklel Cropped length design fits most heights comfortably,Flexible fit ideal for everyday wear, lounging, or light activity</p> <h4>Material & Care</h4> <p>These leggings are crafted from a soft and breathable blend of 95% cotton and 5% Lycra, offering both comfort and stretch for everyday wear. To maintain their shape, color, and quality</p>
1654 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue solid ankle length leggings, has an elasticated waistband and slip-on closure</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing a size 6XL</p> <h4>Material & Care</h4> <p>Cotton, Spandex<br />Normal hand wash or machine wash</p>
1659 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Maroon woven palazzos</li><li>Solid</li><li>Opaque</li><li>Wide leg fit</li><li>Partially elasticated waistband</li><li>Length: regular</li><li>Woven cotton fabric</li></ul> <h4>Size & Fit</h4> <p>Wide Leg fit<br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Cotton<br />Machine wash in cold water & mild detergent.<br />Do not bleach.<br />Do not tumble dry, line dry in shade.<br />Wash dark colors separately.<br />Use iron on a low setting.</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>
1670 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue and navy blue, gold-toned woven design lehenga choli with dupatta, zari<br />Blue and navy blue, gold-toned woven design unstitched blouse, round neck, short sleeves<br />Blue and navy blue, gold-toned woven design ready to wear lehenga, flared hem<br />Blue and navy blue, gold-toned woven design dupatta, taping border</p> <h4>Size & Fit</h4> <p>Lehenga Length:-1.016mtr<br />Lehenga Width:-76.2cm<br />Lehenga Flared:-2.5mtr<br />Blouse Size:- 1Mtr<br />Dupatta Size:- 2.2Mtr</p> <h4>Material & Care</h4> <p>Lehenga Fabric: Art Silk<br />Blouse Fabric: Raw Silk<br />Dupatta Fabric: Art Silk<br />Hand Wash</p>
1675 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Purple and White floral printed maxi dress</li><li>Sweetheart Neck</li><li>Short, puff sleeves</li><li>Gathered or pleated detail</li><li>Maxi length in Flounce hem</li><li>Cotton fabric</li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Fabric: Cotton <br />Wash: Hand wash</p>
1682 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Green solid embroidered dupatta beads and stones, embellished border</p> <h4>Size & Fit</h4> <p>Length - 2.5 Meter<br />Width - 0.83 Meter<br /><br /></p> <h4>Material & Care</h4> <p>Silk Blend<br />Hand Wash</p>