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 (
    34232, 34233, 34234, 34235, 34236, 34237, 
    34238, 34239, 34241, 34242, 34243, 
    34245, 34246, 34247, 34248, 34249, 
    34250, 34251, 34252, 34253, 34254, 
    34255, 34256, 34257, 34258, 34259, 
    34260, 34261, 34262, 34263
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00064

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.01"
    },
    "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": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (34232,34233,34234,34235,34236,34237,34238,34239,34241,34242,34243,34245,34246,34247,34248,34249,34250,34251,34252,34253,34254,34255,34256,34257,34258,34259,34260,34261,34262,34263)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "66.01",
        "eval_cost": "6.00",
        "prefix_cost": "72.01",
        "data_read_per_join": "114K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
34232 <ul class="generatedBullets"><li>Brand : Powerway</li> <li> Color : Black</li> <li>Type : Wired Power Bank</li> <li>Compatible Devices : Mobile Phones</li> <li>Number of Charging Ports : 1</li> <li>Model Number : TX2</li> <li><span style="font-family:Arial, Verdana;">Capacity :3001-4000mAh</span></li> </ul>
34233 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Expirable : Yes</span></li> <li><span class="a-list-item">Brand : Dove</span></li> <li><span class="a-list-item">Product Factor : Solid</span></li> <li><span class="a-list-item">Category Type : Face & Body</span></li> <li><span class="a-list-item">Scent : Fresh Cucumber</span></li> </ul>
34234 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Expirable : Yes</span></li> <li><span class="a-list-item">Type : After Shave Balm</span></li> <li><span class="a-list-item">Brand : Axe</span></li> </ul>
34235 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand: Dove</span></li> <li><span class="a-list-item">Category Type: Body</span></li> <li><span class="a-list-item">Product Factor: Solid</span></li> <li><span class="a-list-item">Size: 2 x 100 gm</span></li> <li><span class="a-list-item">Scent: Milk</span></li> <li><span class="a-list-item">Details: Moisturizing cream and mild cleansers help retain skin moisture</span></li> <li><span class="a-list-item">Dove doesn't dry skin like regular soap can</span></li> </ul>
34236 <ul><li>For an indulgent and relaxing shower, this body wash has a seductive and unique dark chocolate scent. Sweet and spicy.</li> </ul>
34237 <ul class="a-unordered-list a-vertical a-spacing-none"><li class="showHiddenFeatureBullets"><span class="a-list-item">Designed especially for men</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">The Axe effect may result in, but is not limited to, unrelenting female attention and/or late nights</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Axe Revitalizing Shower Gel</span></li> </ul>
34238 <div class="a-section burj"> <div class="feature"> <div class="a-section a-spacing-medium"> <div class="a-section collapsedFeatureBullets showAllFeatureBullets"> <div class="a-section a-spacing-none"> <ul><li class="a-section a-spacing-none"><span class="a-list-item">1 Peace of AXE after shave vitalising</span></li> </ul></div> </div> </div> <div class="a-section expandableFBSectionPlaceholder"> </div> </div> <div class="feature"> </div> </div><div class="a-section a-spacing-none burj"><div class="feature"> </div></div><div class="a-section a-spacing-none burj"> <div class="feature"> </div> </div><div class="a-section burj"><div class="a-section"><div class="feature"> </div></div></div><div><div class="feature"> </div></div><div> </div>
34239 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Moisturising shampoo that nourishes to make hair soft and up to 5x smooth</span></li> <li><span class="a-list-item">Helps to protect normal hair from daily wear and tear</span></li> <li><span class="a-list-item">Leaves your hair feeling silky and manageable every day</span></li> <li><span class="a-list-item">Progressively nourishes, leaving hair healthier looking in the long run</span></li> <li><span class="a-list-item">Formulated with Pro-moisture complex</span></li> <li><span class="a-list-item">Suitable for daily use</span></li> </ul>
34241 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Designed exclusively for Apple iPad 9.7 inch 2018 iPad 6th generation (model number A1893 A1954)/ 2017 iPad 5th generation (model number A1822 A1823) ( it is not compatible with other previous model iPads nor any other devices)</span></li> <li><span class="a-list-item">Ultra slim and lightweight hard back design adds minimal bulk while offers your device great protection</span></li> <li><span class="a-list-item">The translucent frosted back cover allows you to see the Apple icon through your favorite color, while protects your Device against fingerprints and scratches</span></li> <li><span class="a-list-item">Classic and professional design; Full access to all Features (cameras, speaker, ports and buttons)</span></li> <li><span class="a-list-item">Support Auto sleep/wake feature; magnet secures the case closure, Easy snap on and off</span></li> </ul>
34242 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Alcohol-free mouthwash for long lasting fresh breath</span></li> <li><span class="a-list-item">Removes over 99% of germs that cause bad breath and cavities</span></li> <li><span class="a-list-item">Helps prevent cavities with Fluoride</span></li> <li><span class="a-list-item">Refreshing Freshmint flavour, helps control bad breath 24 hours a day</span></li> <li><span class="a-list-item">Helps provide healthier gums vs non-antiseptic mouthwash</span></li> </ul>
34243 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Children 6 years and younger should only use a pea sized amount</span></li> <li><span class="a-list-item">Helps whiten teeth Freshens breath</span></li> <li><span class="a-list-item">Helps protect against cavities</span></li> </ul>
34245 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Compliance Approved</span></li> <li><span class="a-list-item">item_package_quantity : 1</span></li> <li><span class="a-list-item">Quality Product</span></li> </ul>
34246 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Created & Recommended By Dr.Jhonson</span></li> <li><span class="a-list-item">SKIN WHITENING</span></li> <li><span class="a-list-item">Pure & Natural Quality Products</span></li> <li><span class="a-list-item">Made in Thailand</span></li> </ul>
34247 <p>New: A brand-new, unused, unopened and undamaged item in original retail packaging (where packaging is <span></span><span class="u-dspn">applicable). If the item comes direct from a manufacturer, it may be delivered in non-retail packaging, such as a plain or unprinted box or plastic bag. See the seller's listing for full details.</span></p>
34248 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">This 0.2 m long cabled adapter lets you connect devices with a Lightning connector to many of your 30 pin accessories</span></li> <li><span class="a-list-item">Support for analog audio output, USB audio, as well as syncing and charging</span></li> <li><span class="a-list-item">Lightning to 30 pin Adapter (0.2 m)</span></li> </ul>
34249 <ul class="a-unordered-list a-vertical a-spacing-none"><li class="showHiddenFeatureBullets"><span class="a-list-item">Godrej Expert Creme Hair Colour Natural Black 20G+20Ml</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">20 Milliliters</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Black</span></li> </ul>
34250 <ul class="a-unordered-list a-vertical a-spacing-none"><li class="showHiddenFeatureBullets"><span class="a-list-item">Godrej Expert Creme Hair Colour Natural Black 20G+20Ml</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">20 Milliliters</span></li> <li class="showHiddenFeatureBullets"><span class="a-list-item">Dark Brown</span></li> </ul>
34251 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">The thinnest condoms ever developed by Durex</span></li> <li><span class="a-list-item">Ultra-thin, extra sensitive condoms; Dermatologically tested for high protection</span></li> <li><span class="a-list-item">Straight walled and teat ended</span></li> <li><span class="a-list-item">Transparent and lubricated rubber latex</span></li> <li><span class="a-list-item">Length: 180 ± 2 mm; Width: 53 ± 2 mm</span></li> </ul>
34252 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Contains special climax-control lubricant, Benzocaine, that helps him last longer</span></li> <li><span class="a-list-item">Straight walled & teat ended condoms that smell better</span></li> <li><span class="a-list-item">Transparent and lubricated natural rubber latex condoms</span></li> <li><span class="a-list-item">Dermatologically tested and 100% electronically tested; 100% safe and secure.</span></li> <li><span class="a-list-item">Length: 180 ± 2 mm; Width: 53 ± 2 mm</span></li> </ul>
34253 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Ribbed and dotted condoms for extra stimulation</span></li> <li><span class="a-list-item">Easy-on shaped condoms that smell better</span></li> <li><span class="a-list-item">Transparent & lubricated natural rubber latex condoms</span></li> <li><span class="a-list-item">Dermatologically tested and 100% electronically tested; 100% safe and secure.</span></li> <li><span class="a-list-item">Length: 180 ± 2 mm; Width: 53 ± 2 mm</span></li> </ul>
34254 <ul><li>Super thin condoms designed for greater sensitivity</li> <li>Straight walled condoms that smell good</li> <li>Transparent & lubricated natural rubber latex condoms</li> <li>100% electronically tested</li> <li>Complies to ISO 4074 Standards</li> <li>Length: 180 ± 2 mm; Width: 53 ± 2 mm</li> </ul>
34255 <ul><li>How it Works</li> <li>Our formula has breakthrough Lock + Clear technology that goes deep into the skin epidermis. It locks powerful Active Thymo -T Essence inside pimple causing germ cells to clear pimples at the root. Clinically proven to clear pimples in just 3 days*.</li> <li>Recommended Use</li> <li>Use daily, twice a day.</li> <li>Ingredients</li> <li>Myristic acid, Glycerin, Aqua (Water), Propylene Glycol, Potassium Hydroxide, Palmitic Acid & Stearic Acid, Lauric Acid, Glycol Distearate, Decyl Glucoside, Glyceryl Stearate, Niacinamide, Polyquaternium -7, Salicylic Acid, Terpineol, Thymol, Disodium EDTA, Parfum (Fragrance), DMDM Hydantoin, Iodopropynyl Butylcarbamate, Limonene, Butylphenyl Methylpropional, Linalool, Hexyl </li> </ul>
34256 <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Naturally light and refreshing taste rounded with a smooth and mellow finish</li> <li class="jsx-1889249662">Blended with freshly picked young tea leaves and natural flavours</li> <li class="jsx-1889249662">Packaging may vary</li> </ul>
34257 <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Naturally light and refreshing taste rounded with a smooth and mellow finish</li> <li class="jsx-1889249662">Blended with freshly picked young tea leaves and natural flavours</li> <li class="jsx-1889249662">Packaging may vary</li> </ul>
34258 <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Naturally light and refreshing taste rounded with a smooth and mellow finish</li> <li class="jsx-1889249662">Blended with freshly picked young tea leaves and natural flavours</li> <li class="jsx-1889249662">Packaging may vary</li> </ul>
34259 <ul><li>Fresh aroma of natural Jasmine flower enriches ones taste buds. Its a natural and soft aroma freshen the mood instantly. Manufacturer</li> </ul>
34260 <ul><li><span class="a-list-item">Manufacturer Number : 111111</span></li> <li><span class="a-list-item">Expirable : No</span></li> <li><span class="a-list-item">Category Type : Body & Face</span></li> <li><span class="a-list-item">Suitable Skin Type : All Skin Type</span></li> <li><span class="a-list-item">Texture : Liquid</span></li> <li><span class="a-list-item">Recommended Use : all types of skin</span></li> <li><span class="a-list-item">Type : Sprayers</span></li> <li><span class="a-list-item">Brand : Saeed Ghani</span></li> <li></li> </ul>
34261 <ul><li>Wash your face and neck take Sandal Soap and gently rub to work up lather, Rinse off and pat dry use as often as required. Use 2-3 times a day.</li> </ul>
34262 <ul><li>Take appropriate amount of oil, apply it on your hair roots, leave it for 3-4 hours, wash and shampoo.</li> </ul>
34263 <ul><li><span class="a-list-item">Brand : Sensodyne</span></li> <li><span class="a-list-item">Type : Toothpaste</span></li> </ul>