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 (
    21942, 21926, 21927, 22853, 21948, 21949, 
    22008, 21950, 22016, 22017, 21932, 
    21935, 21933, 21934, 21936, 21937, 
    21938, 21969, 21939, 21968, 21976, 
    21977, 21941
  )

Query time 0.00065

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": 23,
      "filtered": 100,
      "attached_condition": "cscart_product_options.option_id in (21942,21926,21927,22853,21948,21949,22008,21950,22016,22017,21932,21935,21933,21934,21936,21937,21938,21969,21939,21968,21976,21977,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 21926
S 21927
S 21932
S 21933
S 21934
S 21935
S 21936
S 21937
S 21938
S 21939
S 21941
S 21942
S 21948
S 21949
S 21950
S 21968
S 21969
S 21976
S 21977
S 22008
S 22016
S 22017
S 22853