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, 
  cscart_product_descriptions.unit_name 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    15167, 16346, 16348, 15749, 16347, 15166, 
    15732, 16338, 15108, 15753, 16354, 
    16340, 15747, 16351, 15750, 15731, 
    15746, 16337, 16336, 15745, 14678, 
    15734, 15733, 15168
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.04252208,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_descriptions",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "product_id"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["product_id", "lang_code"],
          "loops": 1,
          "rows": 24,
          "cost": 0.04252208,
          "filtered": 100,
          "attached_condition": "cscart_product_descriptions.product_id in (15167,16346,16348,15749,16347,15166,15732,16338,15108,15753,16354,16340,15747,16351,15750,15731,15746,16337,16336,15745,14678,15734,15733,15168) and cscart_product_descriptions.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

product_id short_description full_description unit_name
14678 Elegant straw cloche hat with delicate embellishment, a charming accessory for sunny days and stylish outings.
15108 Classic felt fedora, a versatile and stylish hat to elevate any outfit with a touch of timeless elegance.
15166 Statement black fedora with bold chain trim, a striking accessory for adding edgy sophistication to your style.
15167 Lightweight straw cloche hat with delicate detail, a perfect sun-safe accessory for beach days and summer style.
15168 <p>Elegant wide brim straw hat with delicate lace detail, a chic and sun-protective accessory for resort getaways and stylish outdoor events.</p> <p>Available in 2 different colours - </p> <p>Pink and Green.</p>
15731 Vibrant orange felt fedora, a statement accessory to add a pop of color and retro charm to your look.
15732 Elegant felt fedora with a bold chain trim, a statement accessory that adds a touch of modern sophistication to any ensemble.
15733 Classic wide brim straw sun hat, a stylish and essential accessory for sun protection and relaxed vacation vibes.
15734 <p>Compact two-compartment wallet, a practical and sleek essential for organizing cards and cash.</p> <p><strong>Available in 7 vibrant different colours.</strong></p> <p><strong>Green</strong></p> <p><strong>Black</strong></p> <p><strong>Grey</strong></p> <p><strong>Brown</strong></p> <p><strong>Beige</strong></p> <p><strong>Pink</strong></p> <p><strong>Red</strong></p>
15745 Vibrant red textured flap wallet, a compact and stylish accessory with a unique crocodile-embossed detail.
15746 Chic quilted black flap wallet, a compact and stylish accessory with a tassel detail for added flair.
15747 <p>Chic geometric pattern pouch set, a stylish and coordinated duo for everyday organization and style.</p> <p>Available in <strong>Brown</strong> and <strong>Blue</strong></p>
15749 Sleek black faux leather travel pouch with striped wristlet, a stylish and practical accessory for organizing essentials on the go.
15750 Classic leather zip-top toiletry bag, a durable and stylish travel essential for organizing grooming supplies.
15753 <p>Vibrant flap zip-around wallet, a compact and stylish accessory with a tassel detail for added flair.</p> <p>Available in 4 vibrant colours.</p>
16336 Stylish quilted crossbody phone wallet, a compact and organized accessory for carrying your phone and essentials hands-free.
16337 Chic light blue quilted crossbody phone bag with a stylish patterned strap, a compact and fashionable way to carry your phone and essentials.
16338 Vibrant double zip crossbody phone bag, a compact and stylish way to carry your phone and essentials hands-free.
16340 Retro-inspired geometric pattern flap phone pouch, a stylish and compact accessory for carrying your phone with a touch of vintage flair.
16346 Elegant beaded kiss-lock coin purse, a vintage-inspired accessory for carrying small essentials with a touch of sparkle.
16347 Compact brown slim card holder wallet, a minimalist and practical way to carry essential cards.
16348 Chic wallet with a bee embellishment, a compact and stylish accessory for organizing cards and cash.
16351 Chic wallet with leaf print, a compact and stylish accessory with a wristlet for easy carrying.
16354 Elegant floral painted hand fan, a decorative and functional accessory with a touch of traditional artistry.