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 (
    3583, 2455, 473, 46188, 32311, 40371, 
    652, 2296, 27854, 3661, 37825, 47172, 
    2585, 32368, 27935, 3637, 47276, 19278, 
    33362, 31962, 2453, 40916, 27367, 35480, 
    4341, 35488, 48683, 37321, 6445, 2583, 
    48677, 45574
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00350

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": 35,
              "filtered": 100,
              "index_condition": "c.product_id in (3583,2455,473,46188,32311,40371,652,2296,27854,3661,37825,47172,2585,32368,27935,3637,47276,19278,33362,31962,2453,40916,27367,35480,4341,35488,48683,37321,6445,2583,48677,45574)"
            }
          },
          {
            "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
2296 1513 0 258 R N N 0 M A 0 Dịch vụ quà tặng 10293_Gift Wrapping 20k
27367 864 0 258 R Y N 0 M A 0 Chọn mẫu Chọn mẫu
27367 865 0 258 R Y N 0 M A 0 Chọn mùi Chọn mùi
27367 866 0 258 R Y N 0 M A 0 Add-on Add-on
31962 1334 0 0 R N N 0 M A 0 Dịch vụ quà tặng 10293_47_Gói quà
33362 1111 0 638 R N N 0 M A 0 Dịch vụ quà tặng 10630_01 - Add-on
37825 1501 0 103 R N N 0 M A 0 Dịch vụ quà tặng 10134_gift
45574 1512 0 206 R N N 0 M A 0 Dịch vụ quà tặng 10212_gift wrapping
48677 1576 0 827 C N N 0 M A 0 Miễn phí lời nhắn bí mật Miễn phí lời nhắn bí mật
48683 1576 0 827 C N N 0 M A 0 Miễn phí lời nhắn bí mật Miễn phí lời nhắn bí mật
27854 984 0 563 R Y N 0 M A 1 Chọn mẫu Liam Candle listing 31 - Chọn mẫu
47276 1321 0 134 R N N 0 M A 2 Dịch vụ quà tặng Kiss_Dịch vụ quà tặng
3637 602 0 258 R Y N 0 M A 10 Chọn mùi 1 Chọn mùi 1
3637 603 0 258 R Y N 0 M A 20 Chọn mùi 2 Chọn mùi 2