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 (
41930, 41953, 42020, 42041, 42045, 42046,
42052, 42053, 42055, 42057, 42115,
42128, 42129, 42154, 42155, 42156,
42157, 42158, 42159, 42160, 42161,
42162, 42171, 42172, 42173, 42174,
42175, 42176, 42177, 42178, 42179,
42180, 42191, 42200, 42204, 42205,
42208, 42210, 42246, 42247, 42248,
42249, 42251, 42253, 42254, 42263,
42264, 42265, 42266, 42267, 42268,
42269, 42270, 42306, 42341, 42342,
42343, 42344, 42345, 42346, 42347,
42348, 42349, 42350, 42351, 42352,
42353, 42354, 42355, 42356, 42357,
42358, 42359, 42360, 42361, 42362,
42363, 42364, 42365, 45704
)