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 (
    37826, 37827, 37832, 37833, 37850, 37858, 
    37862, 37864, 37867, 37868, 37869, 
    37872, 37873, 37874, 37879, 37880
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00045

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 (37826,37827,37832,37833,37850,37858,37862,37864,37867,37868,37869,37872,37873,37874,37879,37880)) 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
37826 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Top notes are white floral & woody</span></li> <li><span class="a-list-item">Middle notes are fruity & vanilla</span></li> <li><span class="a-list-item">Base notes are sweet & citrus</span></li> </ul>
37827 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Guess Seductive Blue (M) Body Spray 170G</span></li> <li><span class="a-list-item">Men Perfume</span></li> <li><span class="a-list-item">French labdanum: Rate only the most important ingredients you sense in this fragrance.</span></li> </ul>
37832 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Irresistible fragrance</span></li> <li><span class="a-list-item">Anti-bacterial properties</span></li> <li><span class="a-list-item">Long lasting fragrance</span></li> <li><span class="a-list-item">8 hours freshness with freshness lock technology</span></li> <li><span class="a-list-item">Keeps body odour away</span></li> </ul>
37833 <p style="font-weight:400;"><span style="font-style:inherit;font-weight:inherit;">Musk is a testament of the beauty and depth of its base note, White Musk. A balancing, warm and sensual fragrance, it starts with the elegant citrusy scent of Bergamot; complex and aromatic, it combines together with the lively, spicy, green heart note of Basil, leaving a fresh and balanced feeling.<span> </span></span>This fragrance combines with the deep, balancing scent of Agarwood completes the concentrated oil.</p> <p style="font-weight:400;">The finest scents to remember the most sensational moments… Hind Al Oud Concentrated Oils remind us of our deepest and purest memories, the ones that we treasure and hold close.</p>
37850 <ul><li>luxurious scented body cream</li> <li>Fragrance Notes: Vanilla, Blackcurrant, Floral Bouquet, Musk, Blackberry</li> <li>Enriched in vegetable glycerine, apricot stones and vitamin E</li> </ul>
37858 <div class="a-section a-spacing-extra-large"> <div class="feature"> <div class="a-row feature"> <div class="a-section a-spacing-small"> <div class="jsx-1003258361 jsx-3349621030" style="margin-bottom:0px;padding:0px;border-width:0px;font-size:12px;line-height:inherit;font-family:'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;vertical-align:baseline;color:rgb(64,69,83);background-color:rgb(255,255,255);"><div class="jsx-1889249662 overviewSection" style="margin-bottom:0px;padding:0px;border-width:0px;font:inherit;vertical-align:baseline;"><ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">This perfume contains top notes of Freesia, Ruby Red Grapefruit, Water Hyacinth</li><li class="jsx-1889249662">The heart of the perfume contains Peony, Jasmine, Blue Poppy</li><li class="jsx-1889249662">The notes that stay the longest, mixing with the middle notes, have Amber Milk, Creamy Sandalwood, Musk.</li></ul></div></div></div> </div> </div> </div><div> </div>
37862 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Fragrance from the designer house of Mont Blanc</span></li> <li><span class="a-list-item">An aftershave for men</span></li> <li><span class="a-list-item">Sweet and aromatic scent</span></li> <li><span class="a-list-item">Base notes of aromatic, fruity, sweet, fresh spicy, citrus, woody</span></li> <li><span class="a-list-item">100ml bottle</span></li> </ul>
37864 <p>Prolong the scent of montblanc legend with this super-sized all-over shower gel</p>
37867 <ul><li>Montale Paris</li> <li>Powder Flowers</li> <li>100Ml Hair Mist</li> </ul>
37868 <ul><li>Luxurious and sensual, Rose Elixir Hair Mist, sublimates the hair with a brilliant and silky veil and leaves an intense scented sillage.</li> <li>"The magnetic Rose attracts the composition of Citrus, Strawberry Leaves, Jasmine, Orange Blossom to hatch in Amber, Musk and Vanilla. A dancing fragrance for an intense feminine sillage."</li> </ul>
37869 <ul><li>Intimate and chic, White Musk Hair Mist, sublimates the hair with a brilliant and silky veil and leaves an intense scented sillage.</li> <li>"On a starting point of Violet Leaves and Ylang-Ylang oil, the sublime fragrance of a very pure and feminine high quality White Musk."</li> </ul>
37872 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">30ml/1oz</span></li> <li><span class="a-list-item">Narciso Rodriguez For Her</span></li> </ul>
37873 <div class="a-section a-spacing-extra-large"> <div class="feature"> <div class="a-row feature"> <div class="a-section a-spacing-small"> <p>To reinvent and embellish reality, Nina Ricci tells a modern fairy tale, seductive and captivating, with a magical fragrance, a promise of charm, enchantment and emotion. A sparkling sweet floral fragrance with a hint of toffee apple to lend a femininity caressed by seduction, for a modern girl living between dream and reality. For more than 80 years, Nina Ricci captures the very essence of women. House of couture as well as “Couturier du Parfum”, this internationally renowned brand, established in 1932 in Paris, is synonymous with ultra-femininity, timeless chic, Parisian flair and poetic vision.</p> </div> </div> </div> </div> <div> </div>
37874 <ul><li><span>Hair mist by Nina Ricci. Taif rose accord, spiced at the top with black and pink pepper, before being wrapped in a creamy woody nuance of Atlas cedar</span></li> </ul>
37879 <ul><li>Specifications</li> <li>Brand:Paco Rabanne</li> <li>Size:100ml</li> <li>Targeted Group:Men</li> <li>Oil Free</li> </ul>
37880 <ul><li>Brand :Paco Rabanne</li> <li>Model Name : Black Xs L'exces</li> <li>Ideal : For Men</li> <li>Fragrance Classification : Deodorant Spray</li> <li>Quantity :250 ml</li> </ul>