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 (
    50671, 43459, 50194, 45568, 47592, 46696, 
    1896, 27361, 40688, 18717
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00343

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": 23,
              "filtered": 100,
              "index_condition": "c.product_id in (50671,43459,50194,45568,47592,46696,1896,27361,40688,18717)"
            }
          },
          {
            "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
1896 1566 0 26 C N N 0 M A 0 10089_27 Khắc tên (miễn phí)
1896 1580 0 0 R N N 0 M A 0 Chọn giấy gói quà Chọn giấy gói quà
27361 858 0 34 R Y N 0 M A 0 Chọn size Chọn size
45568 1589 0 206 C N N 0 M A 0 10212_giftservice Miễn phí gói quà
45568 1590 0 206 C N N 0 M A 0 10212_addon Trang trí hoa
45568 1592 0 206 C N N 0 M A 0 10212_addon_2 Không trang trí hoa
45568 1597 0 0 C N N 0 M A 0 10212_message Thông điệp ẩn (miễn phí)
45568 1601 0 206 R Y N 0 M A 0 Mùi Hương 10212_39_scent
46696 1425 0 525 C N N 0 M A 0 10206_Add-on Viết chữ theo yêu cầu 60k - miễn phí hết tháng 10
47592 1425 0 525 C N N 0 M A 0 10206_Add-on Viết chữ theo yêu cầu 60k - miễn phí hết tháng 10
50194 1581 0 0 R N N 0 M A 0 Chọn hộp quà Chọn hộp quà
50671 1581 0 0 R N N 0 M A 0 Chọn hộp quà Chọn hộp quà
27361 1453 0 0 R N N 0 M A 9 Lựa chọn Lựa chọn
27361 831 0 34 R Y N 0 M A 20 Chọn màu khung gỗ Chọn màu khung gỗ
27361 829 0 34 R Y N 0 M A 30 Chọn màu hoa Chọn màu hoa
27361 1408 0 34 C N N 0 M A 40 Add on Đèn