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 (
65355, 65460, 65461, 65521, 65596, 65767,
65769, 65770, 65773, 65774, 66033,
66034, 66037, 66047, 66048, 66049,
66050, 66100, 66101, 66138, 66165,
66170, 66210, 66226, 66227, 66228,
66230, 66275, 66276, 66278, 66292,
66326, 66331, 66342, 66369, 66370,
66371, 66372, 66391, 66414
)