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 (
    37470, 37471, 37472, 37473, 37474, 37475, 
    37476, 37477, 37478, 37479, 37480, 
    37481, 37482, 37483, 37484, 37485
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00051

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 (37470,37471,37472,37473,37474,37475,37476,37477,37478,37479,37480,37481,37482,37483,37484,37485)) 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
37470 <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">Size : 50ML</span></li> <li><span class="a-list-item">For Women</span></li> </ul>
37471 <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">An aromatic scent, composed of woody spicy notes.</span></li> <li><span class="a-list-item">Spice bomb puts the strengths of the man in the foreground.</span></li> <li><span class="a-list-item">Top notes: Bergamot, Grapefruit, Pink Pepper, Elemi. Heart: Saffron, Cinnamon, Paprika.</span></li> </ul></div> </div> <div class="feature"> </div> <div class="feature"> </div> <div class="feature"> </div> <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 class="feature"> </div> </div> <div class="centerColAlign"> <div class="feature"> <div> </div> </div> </div>
37472 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">For all skin types</span></li> <li><span class="a-list-item">Long lasting fragrance</span></li> <li><span class="a-list-item">Increase attraction</span></li> </ul>
37473 <span>Vilhelm Parfumerie's Poets of Berlin eau de parfum features notes of blueberry, lemon, sandalwood, vetiver, vanilla, and bamboo. This intriguingly complex fragrance honors the city that has become one of the world’s capitals of creativity, rich with art, music, and new ways of thinking.</span><br /><br /><ul><li>Top notes: blueberry, lemon.</li> <li>Middle notes: bamboo, green wild orris.</li> <li>Base notes: vanilla bean, sandalwood, vetiver.</li> <li>3.4 fl oz/100ml.</li> </ul>
37474 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Vince Camuto</span></li> <li><span class="a-list-item">This woody aromatic fragrance has a blend of bergamot, mandarin orange, lavender, nutmeg, and sandalwood notes</span></li> <li><span class="a-list-item">Ideal for all skin types</span></li> </ul>
37475 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Top Notes of Sparkling Clementine Ice, Cassis Bud, Bergamot, Passion Fruit</span></li> <li><span class="a-list-item">Mid Notes of Wild Muguet, Blush Orchids, Fresh Freesia, Floating Lotus</span></li> <li><span class="a-list-item">Base Notes of Silky Sandalwood, Cashmere Accord, Crystallized Amber, Musk</span></li> </ul>
37476 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Romantic, flirty and fearless, the woman who wears Ciao greets-and embraces-the world with a free spirit and fresh, positive attitude.</span></li> <li><span class="a-list-item">Ciao's scent story opens with tangy Italian Mandarin and Pink Grapefruit, grounded by Wild Strawberry and shimmering Blackberry. </span></li> <li><span class="a-list-item">A floral heart unfurls with a bouquet of Rose, Peony, soft Muguet, Italian Honeysuckle, Pink Jasmine and Passionflower.</span></li> <li><span class="a-list-item">Glowing Amber, Cashmeran, Amaro Liquor, Sandalwood and Indonesian Patchouli create a smoldering finish.</span></li> </ul>
37477 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">A sultry and enticing fragrance that exudes sophistication. A luxurious mix of smoked rose, spice and aged oud ignites the senses.</span></li> <li><span class="a-list-item">Once your senses have been piqued, the heart notes further captivate you with a combination of Centifolia rose, spices, and incense. </span></li> </ul>
37478 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Vince Camuto Terra Cologne by Vince Camuto, Vince Camuto Terra by Vince Camuto is an enticing combination of woody and vanilla accords</span></li> <li><span class="a-list-item">It includes the warmth and coziness of vanilla and tonka bean, the freshness of citrus fruits, rhubarb and geranium, and the rich finish of sandalwood and other woody notes. </span></li> <li><span class="a-list-item">It is appropriate for just about any occasion, from a day at the office to an evening out with a loved one.</span></li> </ul>
37479 <ul><li>Yolo New York (W) Edp 100Ml Spray</li> </ul>
37480 <ul><li>Yolo Tokyo (W) Edp 100 Ml Spray</li> </ul>
37481 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand: Yves Saint Laurent</span></li> <li><span class="a-list-item">Fragrance Type: Eau de Parfum</span></li> <li><span class="a-list-item">Size: 80ml</span></li> <li><span class="a-list-item">Targeted Group: Unisex</span></li> <li><span class="a-list-item">Fragrannce Family: Oriental</span></li> <li><span class="a-list-item">Perfume Name: Exquisite Musk</span></li> <li><span class="a-list-item">Release Date: 2016</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">Top Note: Ginger</span></li> <li><span class="a-list-item">Middle Note: Rose Cinnamon and Nutmeg</span></li> <li><span class="a-list-item">Base Note: Benzoin Ambergris Agarwood (Oud) Musk Labdanum andPatchouli</span></li> </ul></div> </div>
37482 <span>Splendid Wood by Yves Saint Laurent fragrance is based on refined woody notes created in oriental style. Buy this Splendid Wood Eau de Parfum at souq.com. Strong and seductive, the Splendid Wood Eau de Parfum by Yves Saint Laurent is an orient beauty. It was launched in the year 2014 by Marie Salamagne and Amandine Clerc-Marie. In this woody composition, the main role is played by several types of wood from the Middle East along with oud and cedar, which is further spiced with cardamom and thyme. Elegant and gentle, sambac jasmine petals provide a fine layer which cools the woody-spicy character, accompanied with cypriol bestowing characteristic woody-earthy shades. This oriental concoction arrives in an 80ml glass flacon decorated with golden designs that give its beautiful and royal appeal. This Yves Saint Laurent Splendid Wood perfume reveals a mysterious, inviting, and sensual aroma that will lift your spirits.</span>
37483 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">The perfume is set in motion with a sweet, juicy, and succulent hint from clementine, which then blends with the refined, light, and mysterious scent of cyclamen. Completing the top notes with an innocent and soft tinge is almond blossom.</span></li> <li><span class="a-list-item">The heart of this perfume from Yves Saint Laurent reveals a floral bouquet of jasmine, peony, and amaryllis. Peony sets the pace with its fresh floral notes while jasmine harmonizes the scent with a sweet narcotic fragrance. Amaryllis later leads the way to the base notes with its fruity floral undertone.</span></li> <li><span class="a-list-item">The dry down of this warm and opulent fragrance comprises of amber, benzoin, musk, and sweet powdery vanilla. Amber brings charm and grace to the composition with its friendly, cozy, warm note. Benzoin keeps you hooked, as vanilla accentuates the scent. Musk acts like a groundwork, on which the rest of aromatic shades and compositions rest.</span></li> </ul>
37484 <ul><li>Yves St. Laurent In Love Again Edt 80Ml</li> </ul>
37485 <span>Jazz Cologne by Yves Saint Laurent, Launched by the design house of yves saint laurent in 1988, jazz is classified as a refreshing, spicy, lavender, amber fragrance. This masculine scent possesses a blend of nutmeg, coriander, rose, jasmine, geranium, and oakmoss. It is recommended for daytime wear.</span>