SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (271478, 271479, 271477) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.21"
    },
    "table": {
      "table_name": "cscart_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": 3,
      "rows_produced_per_join": 3,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "3.62",
        "eval_cost": "0.60",
        "prefix_cost": "4.22",
        "data_read_per_join": "20K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_descriptions`.`product_id` in (271478,271479,271477)) and (`webmarco`.`cscart_product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
271477 <p><strong>  Product description :</strong></p> <ul><li><span class="a-list-item">SAFE AND FRIENDLY - Our mosquito killer principle is photocatalytic by 368nm UV light, produces water and carbon dioxide similar to human body, attracts mosquitoes and destroys them. Non-toxic, non-radiant, physically working, safe for children and pets.</span></li><li><span class="a-list-item">NO ELECTRIC SOUND - Quiet and safe design.Our mosquito light can be placed in the baby's room to prevent mosquito damage. It can also be used as a night light. Environment, so you can enjoy the dream without being disturbed by mosquitoes.</span></li><li><span class="a-list-item">EASY TO USE - Our products are charged via USB and can work with other USB ports, such as mobile power and laptops. The removable design also protects you from the difficulty of cleaning dead mosquitoes.</span></li><li><span class="a-list-item">STORAGE DETACHABLE AND EASY TO CLEAN - With integrated design of mosquito storage box, it is no oxidation, no rust, good breathability and extremely durable. The storage box is removable, just turn the storage box to take it out, clean it separately and install it after air drying.</span></li><li><span class="a-list-item">WIDE APPLICATION - Suitable for dining room, meeting room, salon, showroom, shop, corridor, hotel, telephone booth, studio and exhibition etc.</span></li></ul>
271478 <ul><li><span class="a-list-item">SAFE AND FRIENDLY - Our mosquito killer principle is photocatalytic by 368nm UV light, produces water and carbon dioxide similar to human body, attracts mosquitoes and destroys them. Non-toxic, non-radiant, physically working, safe for children and pets.</span></li><li><span class="a-list-item">NO ELECTRIC SOUND - Quiet and safe design.Our mosquito light can be placed in the baby's room to prevent mosquito damage. It can also be used as a night light. Environment, so you can enjoy the dream without being disturbed by mosquitoes.</span></li><li><span class="a-list-item">EASY TO USE - Our products are charged via USB and can work with other USB ports, such as mobile power and laptops. The removable design also protects you from the difficulty of cleaning dead mosquitoes.</span></li><li><span class="a-list-item">STORAGE DETACHABLE AND EASY TO CLEAN - With integrated design of mosquito storage box, it is no oxidation, no rust, good breathability and extremely durable. The storage box is removable, just turn the storage box to take it out, clean it separately and install it after air drying.</span></li><li><span class="a-list-item">WIDE APPLICATION - Suitable for dining room, meeting room, salon, showroom, shop, corridor, hotel, telephone booth, studio and exhibition etc.</span></li></ul><p></p>
271479 <p><strong>Product description :  </strong></p><ul><li><span class="a-list-item">USB Rechargable & 4000mAh Long Lasting Battery--The lamp is equipped with an USB charging cable, which can be recharged. Built-in 4000mAh battery, can work as a for 16h; also as a night light. A long battery life, no worries power runs out quickly.</span></li></ul><p></p><ul><li><span class="a-list-item">Safety Non- & Quiet Operiation--Working with a physical way kills small like mosquitoes fly. External safety nets to prevent electric shock, Safe and -friendly. With ultra quiet working design, this zapper outdoor electric 't disturb your rest and sleep</span></li></ul><p></p><ul><li><span class="a-list-item">Portable and Easy to Use & Clean--The is made of high-quality materials, designed with a handle, compact and portable, which is convenient to carry when going out. Simple one button design, which is easy to use. Comes with a brush, easy for cleaning.</span></li></ul><p></p><ul><li><span class="a-list-item">Powerful And Efficient--Our lamp uses 365nm wavelength light to attract mosquitoes and bugs. Mosquito attracted by rays of 360-degree direction will be immediately zapping them with an 110-220V electric shock. Effective in 50-120㎡ Coverage area.</span></li></ul><p></p><ul><li><span class="a-list-item">Indoor and Outdoor Using--you can hang it on a rope or branch or , such as floor , desk , especially for backyard, barbecue and swimming pool areas. The exquisite design can also decorate your house, and You can move them at any time</span></li></ul><p><br /></p><p></p>