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 (
    22298, 22296, 22042, 21947, 22268, 22270, 
    22269, 22271, 22272, 22273, 22253, 
    22255, 22256, 22257, 22258, 22259, 
    22260, 22261, 22274, 22275, 21941
  )

Query time 0.00058

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": 21,
      "filtered": 100,
      "attached_condition": "cscart_product_options.option_id in (22298,22296,22042,21947,22268,22270,22269,22271,22272,22273,22253,22255,22256,22257,22258,22259,22260,22261,22274,22275,21941)"
    },
    "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 21941
S 21947
S 22042
S 22253
S 22255
S 22256
S 22257
S 22258
S 22259
S 22260
S 22261
S 22268
S 22269
S 22270
S 22271
S 22272
S 22273
S 22274
S 22275
S 22296
S 22298