SELECT 
  q_product_descriptions.product_id, 
  q_product_descriptions.short_description, 
  IF(
    q_product_descriptions.short_description = '', 
    q_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  q_product_descriptions 
WHERE 
  q_product_descriptions.product_id IN (
    37131, 37132, 37133, 37134, 37135, 37136, 
    37137, 37138, 37139, 37140, 37141, 
    37142, 37143, 37144, 37145, 37146
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00057

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.41"
    },
    "table": {
      "table_name": "q_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": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (37131,37132,37133,37134,37135,37136,37137,37138,37139,37140,37141,37142,37143,37144,37145,37146)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "35.21",
        "eval_cost": "3.20",
        "prefix_cost": "38.41",
        "data_read_per_join": "61K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
37131 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Fragrance Type: Eau de Parfum</span></li> <li><span class="a-list-item">Targeted Group: Unisex</span></li> <li><span class="a-list-item">Perfume Name: Nights of Arabia</span></li> </ul>
37132 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Size : 100ml</span></li> <li><span class="a-list-item">Fragrance Type : Eau De Parfum</span></li> <li><span class="a-list-item">Fragrance Family : Citrus</span></li> </ul>
37133 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Nina Ricci</span></li> <li><span class="a-list-item">This floral fruity gourmand fragrance has a blend of lemon, mandarin orange, big strawberry, caramel, apple, jasmine, praline, white musk, raspberry, and vanilla</span></li> <li><span class="a-list-item">Provides long lasting fragrance</span></li> </ul>
37134 <p>The house of Nina Ricci, under the license held by Puig, represents two new limited editions of their Les Belles de Nina fragrances in early 2018 (Nina from 2006 and Luna from 2016), called Les Monstres de Nina Ricci, in bottles designed by Brazilian artists Ana Strumpf and Guto Requena.</p>
37135 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Convenient to Use</span></li> <li><span class="a-list-item">Ideal for Everyday Use</span></li> <li><span class="a-list-item">Quick and Easy to use</span></li> </ul>
37136 <ul><li>Nina Ricci Nina Les Monstres De Nina Ricci Limited Edition Edt 50Ml</li> </ul>
37137 <span>Nina Les Monstres Perfume by Nina Ricci, A light, flirtatious scent, nina les monstres boasts base notes of coumarin, coffee, vanilla, and praline. Middle notes of cotton candy and peony are accented with apple, bergamot, pear, and lemon infusions. This perfume, introduced in 2018, comes from the french designer nina ricci.</span>
37138 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Delicate orchid, vanilla, and woodsy-musky</span></li> <li><span class="a-list-item">Base notes blend in a lingering soft trace.</span></li> </ul>
37139 <ul><li>Nina Ricci Premier Jour (W) Edp 50Ml</li> </ul>
37140 <span>Inspired by the Sufi poet Rumi’s exhortation to; "Set your life on fire. Seek those who fan your flames”, Fan Your Fames is a fiery, semi-gourmand fragrance that is all about the kind of passion that spills over into obsession. Featuring a haze of white shisha smoke over a mélange of woody coconut husks, booze, and a mossy, balsamic base, Fan Your Flames is a stunning take on tobacco that extends the material in several different directions at once. </span><br /><br /><span>First, the dried fruit and molasses sweetness of tobacco leaf is drawn out in an exotic direction by way of coconut husk and rum, with a sort of fermented fruit undertone suggestive of Japanese brandy .Directly underneath this, coumarin coaxes the hay facets out of the tobacco leaf, introducing a uniquely dry, sunburned grass tonality that tempers the sweetness of the booze. In the base, cooling, greenish hints of fir, cedar, mint, and oak moss emerge, accentuating the bitter woodiness inherent in dried tobacco leaves. Now imagine all this wrapped up in a haze of tarry smoke, like a leather armchair left to smolder in the ashes of a house fire. Fan Your Flames is intoxicating, obsessive, strange, and almost bewilderingly dense – wear it many times before the smoke starts to lift and you begin to understand its true beauty.</span>
37141 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Pice Bazaar by Nishane Is a Woody Aromatic Fragrance for Women and Men. Spice Bazaar Was Launched in 2015. Are Black Pepper, Vanilla and Saffron.</span></li> <li><span class="a-list-item">pice Bazaar by Nishane is a Woody Aromatic fragrance for women and men. Spice Bazaar was launched in 2015. are black pepper, vanilla and saffron.</span></li> <li><span class="a-list-item">Nishane Spice Bazaar Edp 50Ml</span></li> </ul>
37142 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Manufacturer Number : N/A</span></li> <li><span class="a-list-item">Expirable : Yes</span></li> <li><span class="a-list-item">Targeted Group : Men</span></li> <li><span class="a-list-item">Perfume Name : NISSAN CLASSIC 100 ML EDT FOR MEN</span></li> <li><span class="a-list-item">Fragrance Family : FRESH SPICY AND WOODY</span></li> <li><span class="a-list-item">Brand : NISSAN</span></li> <li><span class="a-list-item">Fragrance Type : Eau de Toilette</span></li> <li><span class="a-list-item">Size : 100ml</span></li> </ul>
37143 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : NISSAN</span></li> <li><span class="a-list-item">Manufacturer Number : N/A</span></li> <li><span class="a-list-item">Fragrance Type : Eau de Toilette</span></li> <li><span class="a-list-item">Size : 100ml</span></li> <li><span class="a-list-item">Targeted Group : Men</span></li> <li><span class="a-list-item">Fragrance Family : Woody & Aquatic</span></li> <li><span class="a-list-item">Perfume Name : NISSAN ENERGY 100 ML EDT FOR MEN</span></li> </ul><div class="a-row a-expander-container a-expander-inline-container"> <div class="a-expander-content a-expander-extend-content a-expander-content-expanded"> <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Are batteries needed to power the product or is this product a battery : No</span></li> <li><span class="a-list-item">Is this a Dangerous Good or a Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or disposal? : No</span></li> <li><span class="a-list-item">Expirable : Yes</span></li> </ul></div> </div>
37144 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Manufacturer Number : N/A</span></li> <li><span class="a-list-item">Expirable : Yes</span></li> <li><span class="a-list-item">Targeted Group : Men</span></li> <li><span class="a-list-item">Perfume Name : OUDY </span></li> <li><span class="a-list-item">Fragrance Family : WOODY </span></li> <li><span class="a-list-item">Brand : NISSAN</span></li> <li><span class="a-list-item">Size : 100ml</span></li> </ul>
37145 <span>Nissan Voyage Edt 100Ml</span>
37146 <ul><li>Noran Perfumes Kador 1929 Platinum Edp 100 Ml</li> </ul>