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 (
81089, 81090, 81091, 81092, 81093, 81094,
81095, 81096, 81097, 81098, 81099,
81158, 81159, 81160, 81161, 81182,
81183, 81184, 81219, 81689, 81690,
81691, 81692, 81693, 81694, 81695,
81696, 81809, 81906, 81907, 81908,
81909, 81910, 81911, 81912, 81913,
81914, 81915, 81916, 81917
)