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 (
40932, 40950, 40960, 41038, 41071, 41072,
41077, 41118, 41131, 41132, 41133,
41134, 41164, 41166, 41167, 41178,
41179, 41210, 41211, 41212, 41213,
41214, 41215, 41216, 41217, 41218,
41220, 41293, 41294, 41295, 41296,
41408, 41409, 41410, 41411, 41445,
41446, 41447, 41448, 41449, 41450,
41451, 41452, 41453, 41454, 41455,
41456, 41457, 41458, 41459, 41460,
41461, 41464, 41465, 41466, 41467,
41468, 41469, 41470, 41471, 41472,
41473, 41474, 41475, 41476, 41477,
41478, 41479, 41480, 41481, 41482,
41483, 41484, 41485, 41486, 41487,
41488, 41508, 41509, 41510
)