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 (
    37080, 37081, 37082, 37083, 37084, 37088, 
    37089, 37090, 37091, 37092, 37093, 
    37094, 37095, 37096, 37097, 37098
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00054

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 (37080,37081,37082,37083,37084,37088,37089,37090,37091,37092,37093,37094,37095,37096,37097,37098)) 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
37080 <ul><li>Miu Miu Twist (W) Edp 100Ml</li> </ul>
37081 <ul><li>Miu Miu Twist (W) Edp 50Ml</li> </ul>
37082 <ul><li><span>Spray e100ml 3.3 F L. Oz</span></li> <li><span>Vial size: 5<span> </span></span><sup><span>1/4 ''</span></sup><span><span> </span>/13.5 cm</span></li> <li><span>Vial width: 1<span> </span></span><sup><span>1/4 ''</span></sup><span><span> </span>/ 3 cm</span></li> <li><span>made in Switzerland</span></li> </ul>
37083 <span>MIZENSIR’s L'Envers Du Paradis Eau De Parfum is the highly charged double act of charcoal on ice. Alberto Morillas knows his pink pepper well enough to pull its freshness out, thanks to green cardamom – iced and sour with a duo of cascalone and bergamot. Spicy and fresh, ambrox is sensual and dominating, gently blended with the musky notes of muscenone and clearwood.</span>
37084 <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">Targeted Group : Unisex</span></li> <li><span class="a-list-item">Perfume Name : Perfect Oud Mizensir Parfums Eau De Parfum 100ML</span></li> <li><span class="a-list-item">Fragrance Family : Fresh & Zesty</span></li> <li><span class="a-list-item">Brand : Mizensir Parfums</span></li> <li><span class="a-list-item">Fragrance Type : Eau de Parfum</span></li> <li><span class="a-list-item">Size : 100ml</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>
37088 <ul><li>Feel like star by wearing the Mon Idol from Lomani. It freshens up your senses and keep you fresh and warm throughout a day. Made with quality floral notes, it great addition for women to highlight their personality.</li> </ul>
37089 <ul><li>About : Oud Wood Intense Monster By Paris Corner(Dubai) Eau De Parfum for men</li> <li>SmellAlike : Oud Wood by Tom Ford</li> <li>Fragances Notes : Sandal Wood , Sichuan Pepper , Amber , Vanilla , Tonka Bean , Cardamon , Braxilen Rose Wood , Agarwood , Vetiver</li> <li>Classification : Oriental Woody</li> <li>Recommed Wearing : Evening & Day</li> <li>Year Introduced : 2015</li> <li>About : Oud Wood Intense Monster By Paris Corner(Dubai) Eau De Parfum for men</li> <li>Oud wood intense is a woody scent which is probaley wear in the evening and day this scent is most wear by the men and women to the sandalwood and vetiver are palying the most important role in the whole day it makes a vanilla at a gud stage</li> <li>Headquartered:Dubai</li> <li>Establishment Year:2010</li> <li>Other Top Sellers : Killer Oud , Nights of Arabia, Autobiography superme gold , Charuto Tobacco Vanille , Fabolus King</li> <li>Buy Oud Wood Intense Monster By Paris Corner(Dubai) Eau De Parfum for men in India at lowest price, Niche Perfumery India offers best deals on Niche perfumes in India.at Perfumery.co.in</li> </ul>
37090 <ul><li>About : Tuscan Supreme Monster By Paris Corner(Dubai) Eau De Parfum</li> <li><span>SmellAlike : Tuscan Leather by Tom Ford</span></li> <li><span>Top Notes : Thyme , Raspberry , Saffron</span></li> <li><span>Heart Notes : Jasmine , Olibanum</span></li> <li><span>Base Notes : Woody Notes , Suede , Amber , Leather</span></li> </ul>
37091 <span>Legend is the ultimate masculine fragrance which simultaneously expresses strength and softness. A fresh Fougère, with top notes of Italian bergamot and French Lavender, the heart reveals woody-floral notes of oakmoss, cedar and pomarose, while the base develops with sandalwood and tonka bean.</span>
37092 <ul><li> Top notes: rose and nutmeg. Heart: cumin and agar. Base: sandalwood, ebony and amber.</li> <li> Montale is a Parisian fragrance house that has mastered the blend of Eastern ingredients with Western techniques. Pierre Montale is best known as the first French perfumer to base a line on Aouds.</li> </ul>
37093 <ul><li><span>Amber and Spices reflects the oriental desert dry heat with its wooden notes</span></li> </ul>
37094 Aqua Gold<span> by </span>Montale<span> is a fragrance for men and women that is inspired by the beautiful painting that leaves us the characteristic landscape of the island of Capri to elaborate a creation of contrasts between the citrus fruits of Italy and the freshest lavender, with nuances envelopes of orange blossom, leather, jasmine and white musk. Content 100 ml.</span>
37095 <ul><li><a href="https://fimgs.net/mdimg/perfume/375x500.48945.jpg">Montale Paris Fantastic Aoud Edp 100Ml</a></li> </ul>
37096 <span>Morena Noir Eau De Toilette for Women - 100 Ml</span>
37097 <ol class="num"><li>Moschino Cheap & Chic Eau De Toilette 100ml Spray - Women's For Her.</li> <li>Cheap & Chic Edt Spray 3.4 Oz By Moschino</li> <li>Cheap and Chic by Moschino for Women</li> <li>Cheap and Chic Perfume for Women Eau De Toilette Spray 3.4 Oz by Moschino</li> <li>Cheap & Chic by Moschino, 3.4 oz Eau De Toilette Spray for women.</li> <li>CHEAP & CHIC Perfume by Moschino EDT SPRAY 3.4 OZ</li> <li>Moschino Cheap And Chic 3.4 Oz 100 Ml Perfume For Women Edt Spray & Sealed</li> <li>Cheap and Chic by Moschino Women's 3.4-ounce Eau de Toilette Spray</li> <li>Cheap and Chic by Moschino for Women - 3.4 oz EDT Spray</li> <li>Moschino Cheap & Chic 3.4 Oz Edt For Women</li> <li>Cheap & Chic by Moschino, 3.4 oz Eau De Toilette Spray for women.</li> <li>Moschino W-4174 Cheap and Chic - 3.4 oz - EDT Spray</li> <li>Cheep and Chic Eau de Toilette Spray</li> <li>Cheap & Chic</li> <li>Cheap & Chic By Moschino Eau De Toilette Spray 3.4 Oz</li> <li>Cheap & Chic By Moschino</li> <li>Cheap And Chic Moschino 3.4 Fl Oz / 100 Ml Edt Spray Tster</li> <li>Cheap and Chic - 3.4 oz EDT Spray</li> <li>Moschino Cheap & Chic Eau De Toilette Natural Spray 100ml/3.4oz</li> <li>Cheap And Chic Moschino 3.4 Oz Edt For Women Perfume In Box Sealed</li> <li>Moschino Cheap & Chic Edt Spray 3.4 Oz</li> <li>Cheap and Chic 155404 Eau de Toilette Spray 3.4-Oz</li> <li>Cheap & Chic By Moschino For Women Edt Spray 3.4 Oz</li> <li>Moschino Cheap & Chic Women's Perfume, Pink/White/Violet (Rose/White/Violet)</li> <li>Women Moschino Cheap And Chic Edt Spray 3.4 Oz - 1758651 - Personal Care Cosmeti</li> <li>Moschino Women's Cheap and Chic EDT Spray - 3.4 oz</li> </ol>
37098 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">New Moschino Cheap & Chic Stars 100ml Eau de Parfum Spray For Her</span></li> <li><span class="a-list-item">At our shop come & embrace the spirit of giving this season with the sparkling Birthday & Christmas fragrance gifts formulated to fill your loved ones heart with warmth and gratitude. Make your love smile with these perfect gift ideas</span></li> <li><span class="a-list-item">This spray is both timeless yet modern, from its understated yet sleek bottle design to its dusky yet fresh scent</span></li> <li><span class="a-list-item">Gifts for all occasions. Fragrances for all - Smell as good as you feel with this seasons scents</span></li> <li><span class="a-list-item">This product also makes for a wonderful gift idea</span></li> </ul>