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 (
    37164, 37165, 37166, 37167, 37168, 37169, 
    37170, 37171, 37172, 37173, 37174, 
    37175, 37176, 37177, 37178, 37179
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00120

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 (37164,37165,37166,37167,37168,37169,37170,37171,37172,37173,37174,37175,37176,37177,37178,37179)) 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
37164 <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">Launched by the design house of One Direction</span></li> <li><span class="a-list-item">This floral fruity fragrance has a blend of pink grapefruit, forest fruits, red currant, freesia, jasmine, frangipani, patchouli, and musk</span></li> <li><span class="a-list-item">It is recommended for casual wear</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>
37165 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of one direction</span></li> <li><span class="a-list-item">This floral fruity fragrance has a blend of jasmine, pink grapefruit, green apple, violet, musk, and woody notes</span></li> <li><span class="a-list-item">Increase attraction</span></li> </ul>
37166 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">size : 75ml</span></li> <li><span class="a-list-item">Perfume Name: Oud Bouquet</span></li> <li><span class="a-list-item">Lancôme is a French luxury perfumes and cosmetics house that distributes products internationally</span></li> </ul>
37167 <div class="jsx-115903991 jsx-3349621030"> <div class="jsx-1889249662 overviewSection"> <p class="jsx-1889249662 sectionHeading">Highlights</p> <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Comes with notes of grapefruit, rose and woody</li> <li class="jsx-1889249662">The iconic fragrance is adorned with new energizing ingredients</li> <li class="jsx-1889249662">A stunning fragrance designed to delight</li> </ul></div> <div class="jsx-1889249662 overviewSection"> <p class="jsx-1889249662 sectionHeading">Overview</p> <p><strong>Fragrance description Paco Rabanne 1 Million</strong><br />Paco Rabanne 1 Million eau de toilette represents the journey of life of a successful and ambitious man who knows exactly what to require from his life and who works on achieving his desired, ultimate dream. At the beginning of his journey, he passes various recesses full of the joys and sorrows of everyday life, smelling of essences of grapefruit, red-orange, and stimulating mint.</p> <p>In the middle of his journey through the phases of life, he reaches the very core of the crossroads, accompanied by the tones of roses, cinnamon, and white leather that wake up his male wits and charm. At the end of the travels, he covers himself with a scarf full of male essences of white shrubs, Ambra, and patchouli. One Million Paco Rabanne eau de toilette intensifies the longing for a perfect world and harmony in each man to wake up his mature and charismatic self in him.</p> <p>Paco Rabanne is a luxury and elegant companion, which is proven by its flacon shining with gold. This fragrance is for all those men who are not afraid of their future full of golden reflexions to balance the dose of luxury, harmony, and lifestyle.</p> <p>Order Paco Rabanne 1 Million eau de toilette in our e-shop and try this distinctive, luxury fragrance. We are sure you'll immediately make it an indispensable part of your life. It is suitable for both weekdays and weekends, but it can pleasantly surprise you in every season.</p> </div> </div> <div class="jsx-115903991 jsx-3349621030"> <div class="jsx-3117487263 container"> </div> </div>
37168 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Paco Rabanne</span></li> <li><span class="a-list-item">This woody spicy fragrance has a blend of citrus, cardamom, rose, juniper berries, patchouli, tonka bean, and leather notes</span></li> <li><span class="a-list-item">Authentic product</span></li> </ul>
37169 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand:Paco Rabanne</span></li> <li><span class="a-list-item">Fragrance Type:Eau de Toilette</span></li> <li><span class="a-list-item">Size:100ml</span></li> </ul>
37170 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of paco rabanne</span></li> <li><span class="a-list-item">This woody fragrance has a blend of bergamote, honey, plum, grapefruit, patchouli, cedar, jasmine, and orange blossom notes</span></li> <li><span class="a-list-item">Alcohol-free</span></li> </ul>
37171 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Paco Rabanne - Black Xs Lexces Eau De Parfum Spray - 50ml/1.6oz</span></li> <li><span class="a-list-item">50 Milliliters</span></li> </ul>
37172 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Paco Rabbane</span></li> <li><span class="a-list-item">This floral fruity fragrance has a blend of pine, orange, coriander, peony, tea leaes, lavendar, cyclamen, tonka bean, and musk notes</span></li> <li><span class="a-list-item">Provides long lasting fragrance</span></li> </ul>
37173 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Paco Rabanne Invictus Collector Edition Edt 150 ml</span></li> <li><span class="a-list-item">Men Perfume</span></li> </ul>
37174 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Paco Rabanne</span></li> <li><span class="a-list-item">This woody aquatic fragrance has a blend of grapefruit, sea notes, mandarin orange, bay leaf, guaiac wood, patchouli, and oakmoss</span></li> <li><span class="a-list-item">Suitable for all skin types</span></li> </ul>
37175 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Men's Fragrance</span></li> <li><span class="a-list-item">Large 100ml size</span></li> <li><span class="a-list-item">Woody fragrance for men</span></li> <li><span class="a-list-item">Fragrance released in 2016</span></li> </ul>
37176 <ul><li><span>Woody notes, vetiver and musk ambrette (musk mallow), musk and immortelle. The nose behind this fragrance is Marie Salamagne. A feast for the nose indeed and all in the bright brilliant opening. How could it be any better. Hold on for your olfactory vacation.</span></li> </ul>
37177 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Paco Rabanne</span></li> <li><span class="a-list-item">This oriental floral fragrance has blend of sandalwood, cashmere, and ambergris notes</span></li> <li><span class="a-list-item">Provides long lasting fragrance</span></li> </ul>
37178 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">A fragrance full of vitality and elegance suitable for strong and seductive woman</span></li> <li><span class="a-list-item">Floral oriental notes invite you on a journey to paradise</span></li> <li><span class="a-list-item">Top notes: Green tangerine, aquatic notes</span></li> </ul>
37179 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Launched by the design house of Paco Robanne</span></li> <li><span class="a-list-item">This aromatic fougere fragrance has a blend of rosemary, clary sage, rosewood, aromatic, tonka beans, lavender, geranium, honey, amber, musk, and oakmoss</span></li> <li><span class="a-list-item">100 percent authentic product</span></li> </ul>