SELECT
option_id,
option_type
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 (
89205, 89206, 89207, 89208, 89209, 89210,
89211, 89212, 89213, 89214, 89215,
89216, 89217, 89218, 89219, 89220,
90049, 90050, 90051, 90052, 90053,
90054, 90055, 90056, 90057, 90058,
90059, 90060, 90061, 90062, 90063,
90064, 90065, 90066, 90067, 90068,
90069, 90070, 90071, 90072
)