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 (2093, 2090, 2092, 2091) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00073

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 (2093,2090,2092,2091)) 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
2090 <p>The Brother PT-E100VP is a compact, handheld industrial label printer designed for electricians, datacom installers, and maintenance professionals. It offers specialized labeling functions, including cable wrap, cable flag, and faceplate labeling, ensuring quick and accurate identification in various applications. With its durable design and user-friendly interface, the PT-E100VP is an essential tool for on-site labeling tasks.</p>
2091 <p>The Brother PT-E300VP is a professional-grade handheld label printer tailored for electricians, datacom installers, and industrial professionals. It offers specialized labeling functions, including cable wrap, cable flag, and faceplate labeling, ensuring quick and accurate identification in various applications. With its durable design and user-friendly interface, the PT-E300VP is an essential tool for on-site labeling tasks.</p>
2092 <p>The Brother PT-E550WVP is a professional-grade, handheld label printer designed for electricians, datacom, and industrial professionals. It offers advanced connectivity options, high-speed printing, and a range of specialized labeling functions to streamline complex labeling tasks on-site.</p>
2093 <p>Brother TZe label tapes are high-quality, laminated tapes designed for durable, long-lasting labels in both indoor and outdoor environments. This range includes various widths — from 6mm up to 24mm — all featuring black text on a white background. These tapes are resistant to water, fading, abrasion, extreme temperatures, and chemicals, making them ideal for office, industrial, and home use. Each tape delivers crisp, easy-to-read labels that adhere strongly to smooth, flat surfaces. Compatible with a wide range of Brother P-touch label printers, these TZe tapes are perfect for labeling cables, shelving, tools, panels, storage boxes, and more.</p>