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 (9799, 9801, 9796, 9800) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00081

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.84"
    },
    "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": 4,
      "rows_produced_per_join": 4,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (9799,9801,9796,9800)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "2.44",
        "eval_cost": "0.40",
        "prefix_cost": "2.84",
        "data_read_per_join": "18K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
9796 <p>Giorgio Armani Code Eau de Toilette is a sophisticated and timeless fragrance designed for men who appreciate elegance, confidence, and understated luxury. This Eau de Toilette reflects a refined masculine character, offering a smooth and balanced scent experience that is suitable for both everyday wear and evening occasions. The fragrance enhances personal presence with a warm and polished aura while maintaining a subtle and composed profile. Armani Code represents modern masculinity with a classic touch, making it an ideal choice for men who seek a fragrance that feels elegant, versatile, and effortlessly stylish.</p>
9799 <p>Giorgio Armani Emporio Stronger With You Amber Eau de Parfum is a refined and expressive fragrance designed for men who appreciate warmth, depth, and modern elegance. This Eau de Parfum reflects a confident masculine identity, offering a rich and balanced scent experience that feels both inviting and sophisticated. Suitable for evening wear and special occasions, the fragrance enhances personal presence with a smooth and polished character. Stronger With You Amber embodies a contemporary lifestyle, delivering a timeless fragrance that feels elegant, distinctive, and effortlessly stylish.</p>
9800 <p>Giorgio Armani Emporio Stronger With You Eau de Toilette is a modern and expressive fragrance created for men who value confidence, warmth, and authentic style. This Eau de Toilette reflects a contemporary masculine character, offering a fresh yet refined scent experience that suits daily wear and casual occasions. The fragrance enhances personal presence with a balanced and approachable aroma that feels comfortable and stylish without being overpowering. Stronger With You represents a sense of connection and individuality, making it an ideal choice for men who appreciate a versatile and modern fragrance that fits seamlessly into everyday life.</p>
9801 <p>Giorgio Armani Emporio Stronger With You Tobacco Eau de Parfum is a bold and sophisticated fragrance designed for men who appreciate depth, intensity, and refined elegance. This Eau de Parfum reflects a confident and expressive masculine identity, offering a rich and well-balanced scent experience suited for evening wear and special occasions. The fragrance enhances personal presence with a warm and polished character that feels powerful yet controlled. Stronger With You Tobacco embodies a modern luxury lifestyle, delivering a distinctive and timeless scent that complements confident personal style.</p>