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 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = a.option_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_options'
  ) 
WHERE 
  c.product_id IN (
    2598, 6187, 6188, 6189, 6190, 2730, 2731, 
    2732, 2733, 2734, 6318, 6319, 6320, 
    6321, 2726, 2727, 2728, 2729, 6313, 
    6314, 6315, 6316, 6317, 1573, 1574, 
    1575, 1576, 1577, 1578, 1579, 1580, 
    1581, 1582, 1583, 1584, 1585, 1586, 
    1587, 1588, 1589, 1590, 1591, 1592, 
    1593, 1594, 1595, 1596, 1597, 1598, 
    5272, 5273, 5274, 5275, 5276, 5277, 
    5278, 5279, 5280, 5281, 5282, 5283, 
    5284, 5285, 5286, 5287, 5288, 5289, 
    5290, 5291, 5292, 5293, 5294, 5295, 
    5296, 5297, 5298, 1546, 1547, 1548, 
    1549, 1550, 1551, 1552, 1553, 1554, 
    1555, 1556, 1557, 1558, 1559, 1560, 
    1561, 1562, 1563, 1564, 1565
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00236

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "73.40"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "7.04"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_ult_objects_sharing",
            "access_type": "index",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "share_object_id",
              "share_company_id",
              "share_object_type"
            ],
            "key_length": "159",
            "rows_examined_per_scan": 170,
            "rows_produced_per_join": 1,
            "filtered": "1.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "17.62",
              "eval_cost": "0.17",
              "prefix_cost": "17.79",
              "data_read_per_join": "272"
            },
            "used_columns": [
              "share_company_id",
              "share_object_id",
              "share_object_type"
            ],
            "attached_condition": "((`gaseus`.`cscart_ult_objects_sharing`.`share_company_id` = 1) and (`gaseus`.`cscart_ult_objects_sharing`.`share_object_type` = 'product_options'))"
          }
        },
        {
          "table": {
            "table_name": "a",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id"
            ],
            "key_length": "3",
            "ref": [
              "gaseus.cscart_ult_objects_sharing.share_object_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "86.36",
            "index_condition": "(`gaseus`.`cscart_ult_objects_sharing`.`share_object_id` = `gaseus`.`a`.`option_id`)",
            "cost_info": {
              "read_cost": "0.43",
              "eval_cost": "0.15",
              "prefix_cost": "18.38",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "option_id",
              "product_id",
              "company_id",
              "option_type",
              "regexp",
              "required",
              "multiupload",
              "allowed_extensions",
              "max_file_size",
              "missing_variants_handling",
              "status",
              "position",
              "value",
              "yml2_type_options",
              "yml2_option_param"
            ],
            "attached_condition": "((`gaseus`.`a`.`product_id` = 0) and (`gaseus`.`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": [
              "gaseus.a.option_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.37",
              "eval_cost": "0.15",
              "prefix_cost": "18.90",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "option_id",
              "lang_code",
              "option_name",
              "internal_option_name",
              "option_text",
              "description",
              "comment",
              "inner_hint",
              "incorrect_message"
            ]
          }
        },
        {
          "table": {
            "table_name": "c",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "product_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id"
            ],
            "key_length": "3",
            "ref": [
              "gaseus.cscart_ult_objects_sharing.share_object_id"
            ],
            "rows_examined_per_scan": 302,
            "rows_produced_per_join": 7,
            "filtered": "1.59",
            "using_index": true,
            "cost_info": {
              "read_cost": "3.13",
              "eval_cost": "0.70",
              "prefix_cost": "66.36",
              "data_read_per_join": "56"
            },
            "used_columns": [
              "option_id",
              "product_id"
            ],
            "attached_condition": "((`gaseus`.`c`.`option_id` = `gaseus`.`a`.`option_id`) and (`gaseus`.`c`.`product_id` in (2598,6187,6188,6189,6190,2730,2731,2732,2733,2734,6318,6319,6320,6321,2726,2727,2728,2729,6313,6314,6315,6316,6317,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,1546,1547,1548,1549,1550,1551,1552,1553,1554,1555,1556,1557,1558,1559,1560,1561,1562,1563,1564,1565)))"
          }
        }
      ]
    }
  }
}