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 (9996, 9997) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.42"
    },
    "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": 2,
      "rows_produced_per_join": 2,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (9996,9997)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "1.23",
        "eval_cost": "0.20",
        "prefix_cost": "1.43",
        "data_read_per_join": "9K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
9996 <p>Lalique Encre Noire Eau de Toilette is a deep and distinctive fragrance created for men who appreciate intensity, elegance, and a strong sense of individuality. This Eau de Toilette delivers a dark and refined scent experience that feels mysterious yet sophisticated, making it suitable for evening wear and cooler seasons. The fragrance enhances personal presence with a bold and confident character, offering a powerful and memorable impression. Designed to reflect depth and modern masculinity, Lalique Encre Noire represents a signature fragrance choice for men who seek uniqueness, strength, and refined style.</p><p><strong></strong></p>
9997 <p>Lalique Le Parfum is a luxurious and sophisticated fragrance crafted for women who appreciate elegance, depth, and refined character. This fragrance delivers a rich and harmonious scent experience that feels warm and captivating, making it suitable for evening wear and special occasions. The perfume enhances personal presence with a confident and graceful character, offering a long-lasting and memorable impression. Designed to reflect femininity with a touch of mystery and luxury, Lalique Le Parfum represents a timeless fragrance choice for women who seek elegance, distinction, and classic sophistication.</p>