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

Query time 0.00065

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 (8084,8085)) 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
8084 <p><strong>Jennifer Lopez Live EDP</strong> is a vibrant and joyful fragrance for women that captures the energy of dance and celebration. It opens with sparkling notes of Sicilian lemon, Italian orange, and pineapple, leading into a heart of peony, violet, and red currant. The base settles into smooth undertones of caramel, tonka bean, sandalwood, and vanilla, creating a warm, sensual finish full of life and charm.</p>
8085 <p><strong>Jennifer Lopez Glowing EDP</strong> is a radiant woody-floral fragrance for women that embodies pure luminosity and sensual sophistication. It opens with fresh notes of bergamot, cypress, and mandarin, flowing into a heart of orange blossom, cassia, and lily-of-the-valley. The base reveals warm, alluring accords of sandalwood, amber, musk, patchouli, and vanilla, leaving a smooth, glowing trail that feels both modern and timeless.</p>