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 (
    37276, 37277, 37278, 37279, 37280, 37281, 
    37283, 37284, 37285, 37286, 37287, 
    37288, 37289, 37290, 37291, 37292
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00050

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 (37276,37277,37278,37279,37280,37281,37283,37284,37285,37286,37287,37288,37289,37290,37291,37292)) 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
37276 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Rocco Barocco Jeans (W) Edp 75ml</span></li> <li><span class="a-list-item">Women Eau de Perfume</span></li> <li><span class="a-list-item">Woody Notes, Vetiver And Musk.</span></li> </ul>
37277 <div class="centerColAlign"> <div class="feature"> <div class="a-section a-spacing-medium a-spacing-top-small"> <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Perfume Name : Mademoiselle Rochas</span></li> <li><span class="a-list-item">Targeted Group : Women</span></li> <li><span class="a-list-item">Frgrance Family : Woody & Spicy</span></li> </ul></div> </div> </div>
37278 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Rochas</span></li> <li><span class="a-list-item">This woody, spicy fragrance has a blend of lavender, bergamot, jasmine, cedar, sandalwood, patchouli, raspberry, cappuccino, amber, and vanilla</span></li> <li><span class="a-list-item">It is recommended for evening wear</span></li> </ul>
37279 Romeo Di Romeo Gigli (W) Edp 100Ml
37280 <ul><li>Rouge 540 Edp 100Ml</li> </ul>
37281 <span>In the Fall of 2014, Baccarat, the most prestigious and opulent crystalworks in the world, celebrated the 250th anniversary of their founding by releasing an extraordinary crystal decanter containing a luminous, exclusive fragrance created by Francis Kurkdjian. Only 250 of these bottles were produced, for a price of $4000 apiece. Now, for the first time ever, this spectacular fragrance is available to the world as Baccarat Rouge 540, a gorgeously woody floral-amber equal parts transparent, dense, and intense.</span>
37283 <span>The Noran Perfumes Royal Essence Khalidi Oud Eau De Parfum Spray is prepared to give a seducing smell with a scent of wood and flower. The notes are Carnation, Rose, Citrus, Oriental notes, Woody notes, Oud, Smoke and Sandalwood. It can be used for all occasions as it keeps you fresh.</span>
37284 <ul><li><span>The Noran Perfumes Royal Essence Norana Oud Eau De Parfum Spray is an exotic perfume with a scent of wood, moderate fruity floral and moderate sweetness. The top notes are Ylang Ylang, Gardenia and the middle notes is Patchouli. And, the base note is Oud.</span></li> </ul>
37285 <ul><li><span>The Noran Perfumes Royal Essence Rozana Oud Eau De Parfum Spray is associated with exotic floral and spicy smell. It is very sensual with a scent of wood, flower and moderate sweetness. The notes are Patchouli, Ylang-ylang, Jasmine and Oriental. This spray can be used by both men and women.</span></li> </ul>
37286 <ul><li><span>The Noran Perfumes Royal Essence Rozana Eau De Parfum Spray is an exotic perfume with a scent of wood, floral and moderate sweetness. The top notes are Patchouli, Ylang-ylang, Jasmine, Oriental notes. It's the perfume with floral smell that keeps you fresh all the time.</span></li> </ul>
37287 <ul><li><strong><span>Suzana</span></strong><span><span> </span>is an oriental perfumery water for women, released in 2017 by the Arabian perfume brand Noran Perfumes from the UAE.<span> </span>Temperamental, incredibly feminine perfume will give a feeling of true oriental luxury and reverent delicate tenderness, will give the natural image a special refined charm and sensual appeal.</span></li> <li class="detail-tabs-i"> <div class="b-rich-text text-description-content box-hide"> <p><span>A laconic, perfectly balanced aroma opens with fragrant oriental accords of fresh spicy spices, interwoven in medium notes with sensual floral shades of white petals of ylang-ylang (natural aphrodisiac), velvet-honey rose Tiare and deep rich woody-earthy spicy accents of patchouli essential oil.</span></p> </div> </li> </ul>
37288 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : S.T.Dupont</span></li> <li><span class="a-list-item">Size : 100 ml</span></li> <li><span class="a-list-item">The base blends ambergris accords with precious cashmere wood, sandalwood and vetiver</span></li> </ul>
37289 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand: S.T. Dupont</span></li> <li><span class="a-list-item">Size: 100ml</span></li> <li><span class="a-list-item">Fragrance Family : Floral & Fruity</span></li> </ul>
37290 <div class="centerColAlign"> <div class="feature"> <div class="a-section a-spacing-medium a-spacing-top-small"> <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Eau De Parfum</span></li> <li><span class="a-list-item">Targeted Group Women</span></li> <li><span class="a-list-item">Size of 100 ml</span></li> </ul></div> </div> <div class="feature"> </div> <div class="feature"> </div> <div class="feature"> </div> <div class="feature"> </div> <div class="feature"> </div> <div class="feature"> </div> <div class="feature"> </div> </div> <div class="centerColAlign"> <div class="feature"> </div> </div>
37291 <span>Created from: White Currant, Tangerine, Nectarine, Granny Smith, Sweet Peas, Lily, Tuberose, White Rose, Musk, White Amber, Heliotrope Powder, Orange Blossom, Kashmaran.</span>
37292 <ul><li class="box-collateral">S.T. Dupont pour Homme by S.T. Dupont is a fragrance for men. S.T. Dupont pour Homme was launched in 1998. The nose behind this fragrance is Gerard Anthony. Top notes are rosemary, artemisia, coriander, galbanum and lemon; middle notes are carnation, cypress, iris, cinnamon, lavender and jasmine; base notes are sandalwood, fir, amber, patchouli, musk, coconut, vetiver, incense and cedar.</li> </ul>