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 (
    187, 312419, 312881, 436374, 441927, 
    437733, 433372, 429338, 404315, 403114, 
    434319, 455492
  ) 
  AND cscart_product_descriptions.lang_code = 'ar'

Query time 0.00048

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 (187,312419,312881,436374,441927,437733,433372,429338,404315,403114,434319,455492) and cscart_product_descriptions.lang_code = 'ar'"
        }
      }
    ]
  }
}

Result

product_id short_description full_description unit_name
187 <p>Used by Cleveland Golf tour staff players worldwide</p>
312419
312881
403114 Classic Backpack 746 — 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.
429338 Classic Backpack 708 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
433372 Classic Backpack 575 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
434319 Classic Backpack 765 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
436374 Classic Backpack 265 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
437733 Classic Backpack 503 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
441927 Classic Backpack 403 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.
455492 Classic Backpack 789 — high quality, tested and ready to ship. Generated sample data for CS-Cart import.