SELECT
c.product_id AS cur_product_id,
a.*,
b.option_name,
b.internal_option_name,
b.option_text,
b.description,
b.inner_hint,
b.incorrect_message,
b.comment
FROM
cscart_product_options as a
LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id
AND b.lang_code = 'en'
LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id
WHERE
c.product_id IN (
276588, 276589, 276590, 276591, 276592,
276593, 276594, 276595, 276596, 276597,
276598, 276599, 276600, 276601, 276602,
276603, 276604, 276605, 276606, 276607,
276608, 276609, 276610, 276611, 276612,
276613, 276614, 276615, 276616, 276617
)
AND a.product_id = 0
AND a.status = 'A'
ORDER BY
a.position