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 (
    404419, 429796, 413554, 429338, 404315, 
    457298, 401218, 426898, 435154, 454872, 
    460123, 418357
  ) 
  AND cscart_product_descriptions.lang_code = 'ar'

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.0216566,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_descriptions",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "product_id"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["product_id", "lang_code"],
          "loops": 1,
          "rows": 12,
          "cost": 0.0216566,
          "filtered": 100,
          "attached_condition": "cscart_product_descriptions.product_id in (404419,429796,413554,429338,404315,457298,401218,426898,435154,454872,460123,418357) and cscart_product_descriptions.lang_code = 'ar'"
        }
      }
    ]
  }
}

Result

product_id short_description full_description unit_name
401218 Classic Backpack 855 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
404315 Classic Backpack 716 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
404419 Classic Backpack 445 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
413554 Classic Backpack 595 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
418357 Classic Book 440 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
426898 Classic Backpack 868 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
429338 Classic Backpack 708 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
429796 Classic Backpack 448 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
435154 Classic Backpack 934 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
454872 Classic Backpack 983 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
457298 Classic Backpack 850 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
460123 Classic Book 384 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.