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 (1585, 1586, 5196) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.13"
    },
    "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": 3,
      "rows_produced_per_join": 3,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (1585,1586,5196)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "1.83",
        "eval_cost": "0.30",
        "prefix_cost": "2.13",
        "data_read_per_join": "13K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
1585 <p>The Huawei AC650-256AP is a compact wireless access controller designed for small to medium-sized enterprises, capable of managing up to 256 access points and supporting up to 2048 users. With a high forwarding performance of up to 10 Gbps, it ensures efficient network traffic handling. The device features advanced wireless management capabilities, including SmartRadio optimization, load balancing, and intelligent frequency assignment, enhancing overall network stability and performance. Its comprehensive security features, such as built-in Portal/AAA server, application-based policy control, and IPSec VPN support, provide robust protection for network resources. The AC650-256AP's flexible deployment options and compatibility with various Huawei AP standards make it a versatile solution for diverse networking environments</p>
1586 <p>The Huawei AC650-128AP is a compact wireless access controller designed for small to medium-sized enterprises, capable of managing up to 128 access points and supporting up to 1024 users. With a high forwarding performance of up to 10 Gbps, it ensures efficient network traffic handling. The device features advanced wireless management capabilities, including SmartRadio optimization, load balancing, and intelligent frequency assignment, enhancing overall network stability and performance. Its comprehensive security features, such as a built-in Portal/AAA server, application-based policy control, and IPSec VPN support, provide robust protection for network resources. The AC650-128AP's flexible deployment options and compatibility with various Huawei AP standards make it a versatile solution for diverse networking environments.</p>
5196 <p>The Ubiquiti UniFi Cloud Key Gen2 Plus (UCK-G2-SSD) is a powerful <strong>wireless access controller</strong> and management device for UniFi networks. Featuring a built-in 1TB HDD/SSD (model dependent), it provides centralized storage for UniFi Protect video recordings while also managing UniFi network devices. The Cloud Key Gen2 Plus offers a user-friendly interface accessible via web or mobile app, allowing seamless configuration, monitoring, and updates. With its sleek design and battery backup, it ensures reliability and protection against unexpected power loss. An all-in-one solution for managing UniFi networks and surveillance systems efficiently.</p>