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 (
    23399, 23369, 23371, 23370, 23372, 23373, 
    23374, 23375, 23376, 23377, 23378, 
    23379, 23380, 23384, 23382, 23381, 
    23345, 23402, 23199
  )

Query time 0.00110

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": 19,
      "filtered": 100,
      "attached_condition": "cscart_product_options.option_id in (23399,23369,23371,23370,23372,23373,23374,23375,23376,23377,23378,23379,23380,23384,23382,23381,23345,23402,23199)"
    },
    "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 23199
S 23345
S 23369
S 23370
S 23371
S 23372
S 23373
S 23374
S 23375
S 23376
S 23377
S 23378
S 23379
S 23380
S 23381
S 23382
S 23384
S 23399
S 23402