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 (7800, 7844, 7846, 7845, 9395) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00112

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.55"
    },
    "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": 5,
      "rows_produced_per_join": 5,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (7800,7844,7846,7845,9395)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "3.05",
        "eval_cost": "0.50",
        "prefix_cost": "3.55",
        "data_read_per_join": "22K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
7800 <p><strong>Lili Original – EDP for Women</strong> is a graceful and layered fragrance designed for the feminine spirit. The top unfolds with crisp apple and magnolia, offering a fresh welcome. At its heart you’ll find gardenia, jasmine, lily and tuberose—lush white-florals that bloom softly. The base then brings depth and comfort through oakmoss, musk, patchouli, sandalwood, vanilla and cedar, leaving behind a warm, elegant trail.</p>
7844 <p><strong>Lili La Belle – EDP for Women</strong> is a luminous and enchanting fragrance that captures the allure of feminine elegance with a touch of romantic sophistication. It opens with a burst of sparkling citrus and juicy pear, creating a radiant first impression that feels fresh and joyful. The heart blooms with delicate jasmine, orange blossom, and peony, weaving a soft floral harmony that embodies grace and charm. As it settles, warm notes of vanilla, amber, and creamy musk wrap the scent in a sensual embrace, leaving behind a trail that is both tender and irresistibly captivating.</p>
7845 <p><strong>Lili Forbidden – EDP for Women</strong> is a captivating floral-oriental fragrance that unveils a vibrant and seductive character. It opens with a burst of luscious fruity notes that create an enticing and energetic start, followed by a graceful heart of soft florals that bring depth and elegance. As it settles, the scent melts into a warm base of sensual oriental accords, leaving behind a velvety trail of allure and sophistication. Radiant yet mysterious, it embodies feminine confidence and charm, making it perfect for evening wear and special occasions.</p>
7846 <p><strong>Lili Aliena – EDP for Women</strong> is a distinctive and graceful fragrance crafted for the confident modern woman. It opens with captivating top notes that awaken the senses, then flows into a rich, sensual heart that emphasizes depth and feminine elegance, and finally settles into a warm and lasting base that leaves behind an enchanting trail of allure and sophistication. Designed to embody individuality and timeless charm, it’s a scent that transforms mood and presence in a subtle, elegant way.</p>
9395 <p><strong>Lili La Belle – Deodorant Spray for Women</strong> offers a soft, feminine burst of freshness that blends delicate floral notes with a gentle, airy sweetness, creating a light yet charming scent that feels effortlessly graceful throughout the day. Its smooth, fast-drying formula helps protect against odor while keeping the skin comfortable and refreshed, leaving behind a subtle, elegant trail that enhances natural beauty without overwhelming. Perfect for daily use, it adds a touch of refined freshness that complements any routine with quiet sophistication.</p>