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 (
79320, 79366, 79368, 79369, 79395, 79396,
79407, 79568, 79569, 79570, 79571,
79572, 79573, 79574, 79575, 79654,
79655, 79656, 79657, 79658, 79659,
79660, 79661, 79662, 79663, 79664,
79665, 79673, 79674, 79675, 79676,
79677, 79699, 79700, 79705, 79707,
79709, 79710, 79711, 79733
)