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 (
    1705, 1713, 1702, 1719, 1723, 1696, 1699, 
    1707, 1697, 1735, 1695, 1686
  ) 
  AND jmj_product_descriptions.lang_code = 'en'

Query time 0.01105

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 (1705,1713,1702,1719,1723,1696,1699,1707,1697,1735,1695,1686)) 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
1686 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Blue regular shirt style top</li><li>Floral print</li><li>Round neck, short, puff sleeves </li><li>Woven</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 />Hand Wash</p>
1695 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Chocolate brown</li><li>Tshirt for women</li><li>Graphic printed</li><li>Regular length</li><li>Round neck</li><li>Short, Drop-Shoulder Sleeves</li><li>Knitted pure cotton fabric</li></ul> <p>Style with beige pants and a tote bag.<br /></p> <h4>Size & Fit</h4> <p>Oversized<br />The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100% Cotton<br />Machine wash</p>
1696 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Red and white vertical striped opaque Casual shirt ,has a spread collar, button placket, long roll-up sleeves, curved hem</p> <h4>Size & Fit</h4> <p>Regular Fit<br />Size worn by the model: S<br />Chest: 30''<br />Height: 5'8''<br /></p> <h4>Material & Care</h4> <p>52% Polyester, 48% Viscose Rayon<br />Machine wash</p>
1697 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Brown graohic printed sweatshirt has a round neck, long sleeves, ribbed hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size 3XL</p> <h4>Material & Care</h4> <p>52%Cotton, 48% Polyester<br />Machine wash</p>
1699 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Beige self design open front regular shrug ,has three-quarter sleeves, straight hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Material : Cotton || Care Instructions: As Per Care Label</p>
1702 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Pink polyester casual jacket<br />Hooded<br />Bomber<br />Long sleeves<br />Straight hemline<br />Polyester liningHigh Star - Product by BRND.ME</p> <h4>Size & Fit</h4> <p>Regular fit<br />The model (height 5.8') is wearing a size S</p> <h4>Material & Care</h4> <p>Polyester<br />Machine Wash</p>
1705 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Teal solid regular-fit casual blazer, has a notched lapel, long sleeves, single-breasted with double button closure and two pockets</p> <h4>Material & Care</h4> <p>Polyester<br />Fitted jacket in stretchable knit with notch lapels,With flap pockets,statement buttons,Best for formal or semiformal events,nylon rayon polyester elastane fabric</p>
1707 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Off white formal suit with blazers, and trousers<br />off white solid regular-fit blazer, has a notched lapel, single-breasted with double button closures, long sleeves, one welt pocket, and two flap pockets, and a double-vented back hem<br />off white solid mid-rise trousers, has a zip fly with a button and a hook-and-bar closure, four pockets, a waistband with belt loops</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing a S</p> <h4>Material & Care</h4> <p>Polyviscose<br />Dry Clean</p>
1713 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <ul><li>Maroon solid empire dress</li><li>Round neck</li><li>Three-quarter, regular sleeves</li><li>Midi length in flounce hem </li></ul> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100%Viscose Rayon<br />Hand Wash</p>
1719 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Blue solid basic jumpsuit, has a halter neck, sleeveless, 2 pockets</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>Polyester<br />Machine wash</p>
1723 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>Pink solid waterproof rain jacket, has an attached hood, seam sealed with adjustable hems, long sleeves, back slit and slip-on closure</p> <h4>Size & Fit</h4> <p>The model (height 5'8") is wearing size S</p> <h4>Material & Care</h4> <p>Polyester<br />Wash gentle<br />Tumble dry low<br />Medium Iron<br />Line dry in shade<br />Do not dry clean<br />Do not bleach</p>
1735 <p><span style="font-size:21px;font-weight:700;">Product Details </span></p> <p>White self design pullover ,has a round neck, long sleeves, ribbed hem</p> <h4>Size & Fit</h4> <p>The model (height 5'8) is wearing a size S</p> <h4>Material & Care</h4> <p>100% Acrylic<br />Machine Wash</p>