SELECT 
  a.*, 
  b.option_name, 
  b.option_text, 
  b.description, 
  b.inner_hint, 
  b.incorrect_message, 
  b.comment, 
  a.status 
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 
  (
    a.product_id = 20730 
    OR c.product_id = 20730
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.02493

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "13015.76"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "11616.60"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "a",
            "access_type": "ALL",
            "possible_keys": [
              "c_status"
            ],
            "rows_examined_per_scan": 1019,
            "rows_produced_per_join": 101,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "94.20",
              "eval_cost": "10.19",
              "prefix_cost": "104.39",
              "data_read_per_join": "233K"
            },
            "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`.`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.a.option_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 101,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "25.48",
              "eval_cost": "10.19",
              "prefix_cost": "140.06",
              "data_read_per_join": "346K"
            },
            "used_columns": [
              "option_id",
              "lang_code",
              "option_name",
              "option_text",
              "description",
              "comment",
              "inner_hint",
              "incorrect_message"
            ]
          }
        },
        {
          "table": {
            "table_name": "c",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id"
            ],
            "key_length": "3",
            "ref": [
              "cscartdb.a.option_id"
            ],
            "rows_examined_per_scan": 114,
            "rows_produced_per_join": 11616,
            "filtered": "100.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "97.44",
              "eval_cost": "1161.66",
              "prefix_cost": "1399.16",
              "data_read_per_join": "90K"
            },
            "used_columns": [
              "option_id",
              "product_id"
            ],
            "attached_condition": "<if>(found_match(c), ((`cscartdb`.`a`.`product_id` = 20730) or (`cscartdb`.`c`.`product_id` = 20730)), true)"
          }
        }
      ]
    }
  }
}