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 (347, 335, 334, 333, 332, 331, 330) 
  AND cscart_product_descriptions.lang_code = 'vn'

Query time 0.00032

JSON explain

{
  "query_block": {
    "select_id": 1,
    "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"],
          "rows": 7,
          "filtered": 100,
          "index_condition": "cscart_product_descriptions.product_id in (347,335,334,333,332,331,330) and cscart_product_descriptions.lang_code = 'vn'"
        }
      }
    ]
  }
}

Result

product_id short_description full_description unit_name
330 <p>Cà phê sữa hòa tan K Delight 3in1 stick 17g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>
331 <p>Cà phê sữa hòa tan K Delight 3in1 hộp 85g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>
332 <p>Cà phê sữa hòa tan K Delight 3in1 hộp 170g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>
333 <p>Cà phê sữa hòa tan K Delight 3in1 hộp 255g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>
334 <p>Cà phê sữa hòa tan K Delight 3in1 túi 459g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>
335 <p>Cà phê sữa hòa tan K Delight 3in1 túi 612g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>
347 <p>Cà phê sữa hòa tan K Delight 3in1 hộp 1275g – ngọt dịu, béo mịn, thơm chuẩn gu Việt từ cà phê nguyên chất. Pha nhanh tiện lợi. Chính hãng K Coffee.</p>