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 = 'en' 
  LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id 
WHERE 
  c.product_id IN (
    7713, 20840, 20730, 16147, 16151, 20720, 
    20748, 20970, 16156, 20760, 14099, 
    20712, 20713, 15481, 16046, 16055, 
    17412, 20954, 20743, 20765, 16100, 
    13858, 16036, 16037, 62954, 13874, 
    16148, 14107, 20953, 16098, 16035, 
    13865, 16145, 57917, 57934, 14136, 
    15936, 14111, 16045, 57946, 13873, 
    16158, 14122, 16149, 57947, 14116, 
    16397, 57916, 14211, 21010
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00162

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "163.75"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "69.95"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "c",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "product_id"
            ],
            "key": "product_id",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 71,
            "rows_produced_per_join": 71,
            "filtered": "100.00",
            "index_condition": "(`cscartdb`.`c`.`product_id` in (7713,20840,20730,16147,16151,20720,20748,20970,16156,20760,14099,20712,20713,15481,16046,16055,17412,20954,20743,20765,16100,13858,16036,16037,62954,13874,16148,14107,20953,16098,16035,13865,16145,57917,57934,14136,15936,14111,16045,57946,13873,16158,14122,16149,57947,14116,16397,57916,14211,21010))",
            "cost_info": {
              "read_cost": "37.36",
              "eval_cost": "7.10",
              "prefix_cost": "44.46",
              "data_read_per_join": "568"
            },
            "used_columns": [
              "option_id",
              "product_id"
            ],
            "attached_condition": "(`cscartdb`.`c`.`option_id` is not null)"
          }
        },
        {
          "table": {
            "table_name": "a",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id"
            ],
            "key_length": "3",
            "ref": [
              "cscartdb.c.option_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 69,
            "filtered": "98.53",
            "cost_info": {
              "read_cost": "17.75",
              "eval_cost": "7.00",
              "prefix_cost": "69.31",
              "data_read_per_join": "160K"
            },
            "used_columns": [
              "option_id",
              "product_id",
              "company_id",
              "option_type",
              "regexp",
              "required",
              "multiupload",
              "allowed_extensions",
              "max_file_size",
              "missing_variants_handling",
              "status",
              "position",
              "value"
            ],
            "attached_condition": "((`cscartdb`.`a`.`product_id` = 0) and (`cscartdb`.`a`.`status` = 'A'))"
          }
        },
        {
          "table": {
            "table_name": "b",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "cscartdb.c.option_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 69,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "17.49",
              "eval_cost": "7.00",
              "prefix_cost": "93.79",
              "data_read_per_join": "237K"
            },
            "used_columns": [
              "option_id",
              "lang_code",
              "option_name",
              "internal_option_name",
              "option_text",
              "description",
              "comment",
              "inner_hint",
              "incorrect_message"
            ]
          }
        }
      ]
    }
  }
}

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
17412 610 0 146 S N N 0 M A 0 Color Color
16145 431 0 149 S N N 0 M A 0 US Size US Size XS-XL
16147 431 0 149 S N N 0 M A 0 US Size US Size XS-XL
16148 429 0 149 S N N 0 M A 0 US Size US Size S-XL
16149 429 0 149 S N N 0 M A 0 US Size US Size S-XL
16156 429 0 149 S N N 0 M A 0 US Size US Size S-XL
16158 429 0 149 S N N 0 M A 0 US Size US Size S-XL
13858 380 0 138 S N N 0 M A 1 Size Size
13865 380 0 138 S N N 0 M A 1 Size Size
13873 380 0 138 S N N 0 M A 1 Size Size
13874 380 0 138 S N N 0 M A 1 Size Size
15481 383 0 111 S N N 0 M A 1 Size Size You can find our size guide in the product description.
15936 380 0 138 S N N 0 M A 1 Size Size
57946 1067 0 404 S N N 0 M A 17 Underbust Size Underbust Size
57934 1067 0 404 S N N 0 M A 17 Underbust Size Underbust Size
57916 1067 0 404 S N N 0 M A 17 Underbust Size Underbust Size
62954 1067 0 404 S N N 0 M A 17 Underbust Size Underbust Size
57947 1067 0 404 S N N 0 M A 17 Underbust Size Underbust Size
57947 1066 0 404 S N N 0 M A 18 Waist Size Waist Size
57934 1066 0 404 S N N 0 M A 18 Waist Size Waist Size
62954 1066 0 404 S N N 0 M A 18 Waist Size Waist Size
57946 1066 0 404 S N N 0 M A 18 Waist Size Waist Size
57946 1068 0 404 S N N 0 M A 19 Hip Size Hip Size
57947 1068 0 404 S N N 0 M A 19 Hip Size Hip Size
57934 1068 0 404 S N N 0 M A 19 Hip Size Hip Size
7713 202 0 63 S N N 0 M A 19 Thigh Size Thigh Size
62954 1068 0 404 S N N 0 M A 19 Hip Size Hip Size
57947 1069 0 404 S N N 0 M A 20 Thigh Size Thigh Size
62954 1069 0 404 S N N 0 M A 20 Thigh Size Thigh Size
57946 1069 0 404 S N N 0 M A 20 Thigh Size Thigh Size
57934 1069 0 404 S N N 0 M A 20 Thigh Size Thigh Size
7713 203 0 63 S N N 0 M A 20 Natural Waist Size Natural Waist Size
7713 159 0 63 S N N 0 M A 27 Hardware Hardware
7713 157 0 63 S N N 0 M A 28 Leather Color Leather Color