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 (
46898, 46915, 46950, 46957, 46958, 46959,
46960, 46961, 47003, 47004, 47006,
47007, 47013, 47014, 47015, 47016,
47040, 47041, 47042, 47048, 47053,
47056, 47057, 47058, 47078, 47080,
47116, 47117, 47118, 47119, 47127,
47128, 47144, 47148, 47154, 47155,
47156, 47174, 47175, 47176, 47177,
47188, 47189, 47197, 47224, 47225,
47226, 47227, 47228, 47229, 47230,
47231, 47232, 47233, 47234, 47235,
47236, 47237, 47238, 47239, 47240,
47241, 47242, 47247, 47255, 47256,
47257, 47258, 47275, 47302, 47303,
47304, 47305, 47341, 47390, 47391,
47446, 47496, 47497, 53378
)