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 (
83850, 83851, 83872, 83873, 83874, 83875,
83876, 83877, 83878, 83879, 83880,
83881, 83882, 83883, 83884, 83885,
83886, 83887, 83888, 83889, 83890,
83891, 83892, 83893, 83894, 84125,
84126, 84127, 84128, 84150, 84151,
84152, 84217, 84218, 84407, 84408,
84409, 84410, 84411, 84412
)