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 (
51844, 52449, 52672, 52731, 52804, 52859,
52933, 52985, 52986, 52987, 52988,
52989, 52990, 52991, 52992, 52993,
52994, 52995, 52996, 52997, 52998,
52999, 53000, 53001, 53002, 53003,
53004, 53005, 53006, 53007, 53008,
53009, 53010, 53011, 53012, 53013,
53014, 53015, 53016, 53161
)