SELECT 
  c.product_id AS cur_product_id, 
  a.*, 
  b.option_name, 
  b.internal_option_name, 
  b.option_text, 
  b.description, 
  b.inner_hint, 
  b.incorrect_message, 
  b.comment 
FROM 
  cscart_product_options as a 
  LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id 
  AND b.lang_code = 'vi' 
  LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id 
WHERE 
  c.product_id IN (
    18608, 36329, 3916, 36399, 48131, 3917
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00256

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "a.position",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "c",
              "access_type": "range",
              "possible_keys": ["PRIMARY", "product_id"],
              "key": "product_id",
              "key_length": "3",
              "used_key_parts": ["product_id"],
              "rows": 17,
              "filtered": 100,
              "index_condition": "c.product_id in (18608,36329,3916,36399,48131,3917)"
            }
          },
          {
            "table": {
              "table_name": "a",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY", "c_status"],
              "key": "PRIMARY",
              "key_length": "3",
              "used_key_parts": ["option_id"],
              "ref": ["dev_db.c.option_id"],
              "rows": 1,
              "filtered": 95.83333588,
              "attached_condition": "a.product_id = 0 and a.`status` = 'A'"
            }
          },
          {
            "table": {
              "table_name": "b",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["option_id", "lang_code"],
              "ref": ["dev_db.c.option_id", "const"],
              "rows": 1,
              "filtered": 100,
              "attached_condition": "trigcond(b.lang_code = 'vi')"
            }
          }
        ]
      }
    }
  }
}

Result

cur_product_id option_id product_id company_id option_type regexp required multiupload allowed_extensions max_file_size missing_variants_handling status position value option_name internal_option_name option_text description inner_hint incorrect_message comment
18608 1397 0 264 R N N 0 M A 0 Chọn kiểu chữ Chọn kiểu chữ
18608 1399 0 264 C N N 0 M A 0 Dịch vụ cá nhân hoá Thêu 2 chữ 50k - Miễn phí hết tháng 9
36329 1504 0 264 R N N 0 M A 0 Dịch vụ cá nhân hoá (Ưu đãi tới hết tháng 9) Goûttobed_Personalized Service
36399 1504 0 264 R N N 0 M A 0 Dịch vụ cá nhân hoá (Ưu đãi tới hết tháng 9) Goûttobed_Personalized Service
48131 1377 0 264 R N N 0 M A 0 Chọn kiểu chữ Chọn kiểu chữ
48131 1399 0 264 C N N 0 M A 0 Dịch vụ cá nhân hoá Thêu 2 chữ 50k - Miễn phí hết tháng 9
18608 1398 0 264 C N N 0 M A 2 Dịch vụ cá nhân hoá Thêu 3-4 chữ 100k - còn 40k hết tháng 9
48131 1398 0 264 C N N 0 M A 2 Dịch vụ cá nhân hoá Thêu 3-4 chữ 100k - còn 40k hết tháng 9
3916 1506 0 264 R N N 0 M A 3 Dịch vụ quà tặng Goûttobed_GIFT SERVICE
3917 1506 0 264 R N N 0 M A 3 Dịch vụ quà tặng Goûttobed_GIFT SERVICE
18608 1506 0 264 R N N 0 M A 3 Dịch vụ quà tặng Goûttobed_GIFT SERVICE
36329 1388 0 264 R N N 0 M A 3 Chọn kiểu chữ Chọn kiểu chữ
36329 1506 0 264 R N N 0 M A 3 Dịch vụ quà tặng Goûttobed_GIFT SERVICE
36399 1394 0 264 R N N 0 M A 3 Chọn kiểu chữ Chọn kiểu chữ
36399 1506 0 264 R N N 0 M A 3 Dịch vụ quà tặng Goûttobed_GIFT SERVICE
48131 1506 0 264 R N N 0 M A 3 Dịch vụ quà tặng Goûttobed_GIFT SERVICE
18608 1449 0 0 R N N 0 M A 4 Lời nhắn Lời nhắn