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 (
    17265, 5300, 5297, 1980, 1979, 17259
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00297

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": 9,
              "filtered": 100,
              "index_condition": "c.product_id in (17265,5300,5297,1980,1979,17259)"
            }
          },
          {
            "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
5300 1278 0 141 R N N 0 M A 1 Chọn vị trà hũ 2 Chọn vị trà
5300 1279 0 141 R N N 0 M A 2 Chọn vị trà hũ 3 Chọn vị trà hũ 3
5297 598 0 141 S Y N 0 M A 10 Chọn vị trà cho hũ 1 Chọn vị trà cho hũ 1
5297 599 0 141 S Y N 0 M A 20 Chọn vị trà cho hũ 2 Chọn vị trà cho hũ 2
5297 600 0 141 S Y N 0 M A 30 Chọn vị trà cho hũ 3 Chọn vị trà cho hũ 3