SELECT 
  option_type as type, 
  option_id 
FROM 
  cscart_product_options 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = cscart_product_options.option_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'product_options'
  ) 
WHERE 
  option_id IN (
    22044, 22041, 21947, 22157, 22158, 22159, 
    23100, 23101, 23099, 23102, 22155, 
    22151, 22154, 22153, 23136, 23137, 
    23138, 23143, 22644, 22645
  )

Query time 0.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_options",
      "access_type": "range",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["option_id"],
      "rows": 20,
      "filtered": 100,
      "attached_condition": "cscart_product_options.option_id in (22044,22041,21947,22157,22158,22159,23100,23101,23099,23102,22155,22151,22154,22153,23136,23137,23138,23143,22644,22645)"
    },
    "table": {
      "table_name": "cscart_ult_objects_sharing",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "159",
      "used_key_parts": [
        "share_object_id",
        "share_company_id",
        "share_object_type"
      ],
      "ref": ["cscart_migrate.cscart_product_options.option_id", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "cscart_ult_objects_sharing.share_object_id = cscart_product_options.option_id and cscart_ult_objects_sharing.share_object_type = 'product_options'",
      "using_index": true
    }
  }
}

Result

type option_id
S 21947
S 22041
S 22044
S 22151
S 22153
S 22154
S 22155
S 22157
S 22158
S 22159
S 22644
S 22645
S 23099
S 23100
S 23101
S 23102
S 23136
S 23137
S 23138
S 23143