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 (
    37406, 37407, 37408, 37409, 37410, 37411, 
    37412, 37413, 37414, 37415, 37416, 
    37417, 37418, 37419, 37420, 37421
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00049

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 (37406,37407,37408,37409,37410,37411,37412,37413,37414,37415,37416,37417,37418,37419,37420,37421)) 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
37406 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">The new men's fragrance from the united dreams collection is dedicated to any man with a strong personality</span></li> <li><span class="a-list-item">This cologne, with its spiced flavour, perfectly embodies a decisive character who doesn’t settle for less</span></li> <li><span class="a-list-item">Fruity hints of grapefruit, lime and mandarin, combine for floral scents and jasmine, ginger, nutmeg and pink peppercorn spices, a mix that is energized by incense, cistus flower and cedar wood</span></li> <li><span class="a-list-item">Top notes: Grapefruit, lime, mandarin</span></li> <li><span class="a-list-item">Heart notes: Jasmine, ginger, nutmeg, pink pepper</span></li> <li><span class="a-list-item">Base notes: Cedar wood, cistus, incense</span></li> <li><span class="a-list-item">Olfactory family: Fresh spicy citrus</span></li> <li><span class="a-list-item">Instructions for use: Spritz onto pulse points</span></li> </ul>
37407 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">A dizzying mix of fresh and aromatic notes and the latest in elegant and seductive fragrances</span></li> <li><span class="a-list-item">Top notes: Bigrade orange, lemon, yuzu</span></li> <li><span class="a-list-item">Heart notes: Orange blossom, freesia, mate</span></li> <li><span class="a-list-item">Base notes: Wood, amber accord, vanilla, musk accord</span></li> <li><span class="a-list-item">Olfactory family: Fresh aromatic</span></li> <li><span class="a-list-item">Instructions for use: Spritz onto pulse points</span></li> </ul>
37408 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Floral heart notes, fruity top notes with a sensual base The new perfume that celebrates beauty in diversity</span></li> <li><span class="a-list-item">Top notes: Bergamot, mandarin, passion fruit</span></li> <li><span class="a-list-item">Heart notes: Orange blossom, rose, jasmine</span></li> <li><span class="a-list-item">Base notes: Wood, amber accord, vanilla, musk accord</span></li> <li><span class="a-list-item">Olfactory family: Fruity floral</span></li> <li><span class="a-list-item">Instructions for use: Spritz onto pulse points</span></li> </ul>
37409 <ul class="a-unordered-list a-vertical a-spacing-none"><li class="showHiddenFeatureBullets"><span class="a-list-item">Launched by the design house of United Colors of Benetton in the year 2017.</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">This chypre floral fragrance has a blend of</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">grapefruit, bergamot, neroli, rose, jasmine, freesia, patchouli leaf, musk, and praline.</span></li> </ul>
37410 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Top notes:-bergamot, lemon, cardamom, cinnamon heart notes:-cypress, lavender, orange blossom base notes:-praline, wood, tonka bean vanilla, labdanum</span></li> <li><span class="a-list-item">Olfactory family:-amber wood</span></li> <li><span class="a-list-item">Evening wear</span></li> </ul>
37411 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Top notes: -bergamot, mandarin, pear heart notes: -jasmine, freesia, tuberose, violet base notes: -patchouli, sandalwood, vanilla, musk</span></li> <li><span class="a-list-item">Olfactory family: -floral chypre fruity</span></li> <li><span class="a-list-item">Evening wear</span></li> </ul>
37412 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">United dreams men go far is described as the scent of fresh marine notes, which represents a brave character</span></li> <li><span class="a-list-item">It opens with accords of lemon, lime and marine notes</span></li> <li><span class="a-list-item">The heart includes blue lotus, cardamom and lavender, placed at the base of moss, cedar and amber</span></li> </ul>
37413 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">The new energetic feminine fragrance from the united dreams collection is dedicated to any woman who prefers a no holds approach to self expression</span></li> <li><span class="a-list-item">Fresh and floral, this perfume is an invitation to live every moment in total freedom</span></li> <li><span class="a-list-item">Exotic hits of yuzu mixed with bergamot orange and green apple, blended in harmony with traces of tea and the intensity of cyclamen tree as well as cardamom and ginger spices</span></li> <li><span class="a-list-item">At its base are exotic woods, amber and musk</span></li> <li><span class="a-list-item">Top notes: Yuzu, green apple, tea leaves</span></li> <li><span class="a-list-item">Heart notes: Orange blossom, cardamom</span></li> <li><span class="a-list-item">Base notes: Cedar wood, musk</span></li> </ul>
37414 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Quantity: 80ml; The new floral and feminine fragrance from the united dreams collection is dedicated to any woman who loves feeling special</span></li> <li><span class="a-list-item">Sensual and modern, this perfume is an invitation to add a one-of-a-kind touch to your personality; Vibrant fruity hints from bergamot oranges, peaches, pears and raspberries combine with the delicate scent of rose, fresh jasmine petals and freesia</span></li> <li><span class="a-list-item">At its base is a sensual mix of amber and sandal wood; Olfactory family: Sweet fruity</span></li> <li><span class="a-list-item">Top notes: Bergamot, raspberry</span></li> <li><span class="a-list-item">Usage: Hold the can upright 5 10 cm away from skin and avoid eye contact harmful if taken internally</span></li> <li><span class="a-list-item">Target Audience: Women</span></li> <li><span class="a-list-item">Package Contents: 1 Eau de Toilette</span></li> </ul>
37415 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Unisex fragrance from United Colors of Benetton</span></li> <li><span class="a-list-item">Fruity and floral</span></li> </ul>
37416 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">From Benetton</span></li> <li><span class="a-list-item">Ladies fragrance</span></li> <li><span class="a-list-item">Light</span></li> <li><span class="a-list-item">Feminine</span></li> <li><span class="a-list-item">Oriental</span></li> </ul>
37417 <ul class="a-unordered-list a-vertical a-spacing-none"><li class="showHiddenFeatureBullets"><span class="a-list-item">Designer House: Benetton</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Launched Year: 2014</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Notes: bergamot and citrus leaves, orange blossom, cedar, musk and sandalwood</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">For Women</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">2.7 oz 80 ml EDT Spray</span></li> </ul>
37418
37419 <ul><li>Sex:Women</li> <li>General Variety:Perfume</li> <li>Perfume Type:Eau de Parfum</li> <li>Brand:Valentino</li> </ul>
37420 <ul><li><span>A charming floral-oriental fragrance of bittersweet almonds and pear that transitions into a floral heart of jasmine and frangipani. The Base collects exotic sandalwood with hawthron for an intoxicating sweetness.</span></li> </ul>
37421 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">An Eau de Toilette for him</span></li> <li><span class="a-list-item">An aromatic woody fragrance</span></li> <li><span class="a-list-item">150ml bottle</span></li> </ul>