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 (
    23387, 23338, 23340, 23339, 22853, 23357, 
    23358, 23359, 23349, 23353, 23350, 
    23352, 23351, 23354, 23355, 23345, 
    23389, 23199
  )

Query time 0.00039

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": 18,
      "filtered": 100,
      "attached_condition": "cscart_product_options.option_id in (23387,23338,23340,23339,22853,23357,23358,23359,23349,23353,23350,23352,23351,23354,23355,23345,23389,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 22853
S 23199
S 23338
S 23339
S 23340
S 23345
S 23349
S 23350
S 23351
S 23352
S 23353
S 23354
S 23355
S 23357
S 23358
S 23359
S 23387
S 23389