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 (
90331, 90332, 90333, 90342, 90343, 90344,
90345, 90346, 90347, 90348, 90349,
90350, 90351, 90352, 90353, 90354,
90355, 90356, 90357, 90358, 90359,
90360, 90361, 90362, 90366, 90367,
90369, 90550, 90551, 91047, 91048,
91049, 91050, 91051, 91052, 91053,
91054, 91055, 91056, 91057
)