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 (
81311, 81312, 81313, 81400, 81536, 81546,
81547, 81548, 81549, 81550, 81551,
81583, 81678, 81679, 81707, 81708,
81717, 81720, 81764, 81765, 81766,
81838, 81839, 81840, 81841, 81854,
81855, 81860, 81956, 81976, 81977,
82042, 82119, 82120, 82143, 82159,
82741, 82742, 82743, 82744
)