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 (5250, 4752, 5253, 5251, 4755, 5252) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00099

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.26"
    },
    "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": 6,
      "rows_produced_per_join": 6,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (5250,4752,5253,5251,4755,5252)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "3.66",
        "eval_cost": "0.60",
        "prefix_cost": "4.26",
        "data_read_per_join": "27K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
4752 <p><strong>Ubiquiti EdgeSwitch 24-Port (250 W)</strong>: A rackmountable, managed Layer 2/3 Gigabit PoE switch offering 24 RJ-45 ports, 2 SFP uplinks, and a built-in 250 W power supply capable of delivering up to 26 Gbps non-blocking throughput.</p>
4755 <p>The Ubiquiti EdgeSwitch 48-Port 500W is a <strong>managed Gigabit switch</strong> built for enterprise-grade networks. It features 48 high-speed Ethernet ports with robust switching capacity to handle heavy traffic demands. With a 500W total PoE+ power budget, it can power a wide range of PoE-enabled devices such as access points, IP cameras, and VoIP phones. The switch supports advanced Layer 2 management features and Layer 3 routing for enhanced control and flexibility. Designed for reliability and scalability, it is ideal for professional installations requiring high capacity and centralized power distribution.</p>
5250 <p>The Ubiquiti UniFi Switch Pro 24 PoE (USW-PRO-24-POE-EU) is a high-performance <strong>managed switch</strong> designed for enterprise networks. It features 24 Gigabit Ethernet ports with both 802.3af/at PoE+ and 802.3bt PoE++ support, delivering flexible power for a wide range of devices. Equipped with two 10G SFP+ uplink ports, it ensures high-speed connectivity for demanding applications. The switch offers advanced Layer 2 and Layer 3 features, making it suitable for complex and scalable deployments. Managed through the UniFi Controller, it provides centralized monitoring, configuration, and seamless integration with other UniFi devices.</p>
5251 <p>The Ubiquiti UniFi Switch Pro 48 PoE (USW-PRO-48-POE-EU) is an advanced <strong>managed switch</strong> designed for large-scale enterprise networks. It offers 48 Gigabit Ethernet ports with full 802.3af/at PoE+ and select 802.3bt PoE++ support, enabling reliable power delivery to access points, cameras, and VoIP phones. With four 10G SFP+ uplink ports, it ensures high-speed fiber connectivity and seamless network expansion. The switch supports advanced Layer 2 and Layer 3 features for optimal performance, scalability, and control. Managed through the UniFi Controller, it integrates effortlessly with UniFi systems for centralized configuration and monitoring.</p>
5252 <p>The Ubiquiti UniFi Switch Pro 8 PoE (USW-PRO-8-POE-EU) is a compact yet powerful <strong>managed switch</strong> built for enterprise and professional networks. It features 8 Gigabit Ethernet ports with 802.3af/at PoE+ support, making it ideal for powering access points, IP cameras, and VoIP phones. Equipped with two 10G SFP+ uplink ports, it provides high-speed connectivity and flexible expansion options. The switch delivers advanced Layer 2 and Layer 3 features for robust network management and scalability. Fully managed through the UniFi Controller, it ensures seamless integration and centralized monitoring within UniFi deployments.</p>
5253 <p>The Ubiquiti UniFi Switch Ultra 210W (USW-Ultra-210W) is a sleek and efficient <strong>managed PoE switch</strong> designed for modern networks. It features 8 Gigabit Ethernet ports with 802.3at PoE+ support, delivering a total PoE power budget of 210W to power access points, IP cameras, and VoIP phones. Compact yet powerful, it is ideal for small to medium-sized deployments where space and performance both matter. Managed via the UniFi Network Controller or mobile app, it offers centralized configuration and monitoring. A reliable choice for businesses and advanced home networks needing smart PoE switching in a compact form.</p>