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 (
34689, 34690, 34699, 34705, 34731, 34741,
34743, 34747, 34748, 34749, 34750,
34751, 34752, 34753, 34754, 34755,
34756, 34757, 34758, 34760, 34762,
34771, 34774, 34777, 34785, 34786,
34787, 34849, 34859, 34865, 34866,
34870, 34874, 34875, 34876, 34877,
34879, 34880, 34883, 34884, 34888,
34889, 34928, 34929, 34930, 34934,
34935, 34943, 34944, 34945, 34952,
34963, 34964, 34965, 35007, 35298,
35380, 35384, 35385, 35393, 35532,
35533, 35534, 35535, 35538, 35539,
35615, 35702, 74833, 74837, 74847,
85618, 85619, 85620, 85621, 85622,
85623, 85624, 85625, 85626
)