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 (
36749, 65359, 65597, 65598, 66229, 66237,
66325, 66340, 66368, 66389, 66390,
66392, 66393, 66416, 66441, 66442,
66489, 66496, 66497, 66502, 66529,
66530, 66554, 66555, 66639, 66640,
66665, 66692, 66752, 66786, 66787,
66937, 66938, 67379, 67994, 67996,
67997, 68061, 68243, 68248
)