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 (
42163, 42164, 42165, 42166, 42167, 42168,
42169, 42170, 42203, 42252, 42285,
42303, 42304, 42305, 42307, 42320,
42321, 42322, 42323, 42335, 42336,
42337, 42338, 42367, 42369, 42372,
42373, 42374, 42377, 42394, 42407,
42408, 42409, 42412, 42417, 42434,
42435, 42436, 42556, 42565, 42568,
42571, 42572, 42573, 42591, 42883,
42884, 42885, 42886, 42887, 42888,
42889, 42890, 42891, 42892, 42893,
42894, 42895, 42896, 42897, 42898,
42899, 42900, 42901, 42902, 42903,
42904, 42905, 42906, 65955, 65956,
65957, 65958, 85531, 85532, 85533,
85534, 85535, 85536, 85537
)