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 (
    5587, 5588, 5589, 5590, 5591, 5592, 5593, 
    5594, 5595, 5596, 5597, 5598, 5599, 
    5600, 5601, 5602, 5603, 5604, 5605, 
    5606, 5607, 5608, 5609, 5610, 5611, 
    5612, 1423, 1424, 1425, 1426, 1427, 
    5136, 5137, 5138, 5139, 5140, 5141, 
    6711, 1455, 5164, 1445, 5154, 1456, 
    5165, 1446, 5155, 1458, 5167, 1448, 
    5157, 1459, 5168, 5158, 1820, 1821, 
    1822, 1823, 1824, 1825, 1826, 1827, 
    1828, 1829, 1830, 1831, 1832, 1833, 
    1834, 1835, 1836, 1837, 1838, 1839, 
    1840, 1841, 1842, 1843, 1844, 1845, 
    1846, 1847, 1848, 1849, 1850, 1851, 
    1852, 1853, 1854, 1855, 1856, 1857, 
    1858, 1859, 1860, 1861, 1862
  ) 
  AND a.product_id = 0 
  AND a.status = 'A' 
ORDER BY 
  a.position

Query time 0.00187

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "25.40"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "0.92"
      },
      "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": 178,
            "rows_produced_per_join": 1,
            "filtered": "1.00",
            "using_index": true,
            "cost_info": {
              "read_cost": "18.41",
              "eval_cost": "0.18",
              "prefix_cost": "18.59",
              "data_read_per_join": "284"
            },
            "used_columns": [
              "share_company_id",
              "share_object_id",
              "share_object_type"
            ],
            "attached_condition": "((`test2_gaseus`.`cscart_ult_objects_sharing`.`share_company_id` = 1) and (`test2_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": [
              "test2_gaseus.cscart_ult_objects_sharing.share_object_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "55.17",
            "index_condition": "(`test2_gaseus`.`cscart_ult_objects_sharing`.`share_object_id` = `test2_gaseus`.`a`.`option_id`)",
            "cost_info": {
              "read_cost": "0.45",
              "eval_cost": "0.10",
              "prefix_cost": "19.21",
              "data_read_per_join": "2K"
            },
            "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": "((`test2_gaseus`.`a`.`product_id` = 0) and (`test2_gaseus`.`a`.`status` = 'A'))"
          }
        },
        {
          "table": {
            "table_name": "c",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "product_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id"
            ],
            "key_length": "3",
            "ref": [
              "test2_gaseus.cscart_ult_objects_sharing.share_object_id"
            ],
            "rows_examined_per_scan": 45,
            "rows_produced_per_join": 0,
            "filtered": "2.09",
            "using_index": true,
            "cost_info": {
              "read_cost": "0.52",
              "eval_cost": "0.09",
              "prefix_cost": "24.15",
              "data_read_per_join": "7"
            },
            "used_columns": [
              "option_id",
              "product_id"
            ],
            "attached_condition": "((`test2_gaseus`.`c`.`option_id` = `test2_gaseus`.`a`.`option_id`) and (`test2_gaseus`.`c`.`product_id` in (5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,1423,1424,1425,1426,1427,5136,5137,5138,5139,5140,5141,6711,1455,5164,1445,5154,1456,5165,1446,5155,1458,5167,1448,5157,1459,5168,5158,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862)))"
          }
        },
        {
          "table": {
            "table_name": "b",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "option_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "test2_gaseus.a.option_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.23",
              "eval_cost": "0.09",
              "prefix_cost": "24.47",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "option_id",
              "lang_code",
              "option_name",
              "internal_option_name",
              "option_text",
              "description",
              "comment",
              "inner_hint",
              "incorrect_message"
            ]
          }
        }
      ]
    }
  }
}