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 (
2307, 2306, 2308, 13820, 11805, 2335,
2216, 2217, 15142, 2220, 2803, 2264,
2262, 13109, 13110, 12701, 2580, 4394,
2769, 2768, 2767, 2766, 12700, 13840,
2224, 15149, 2192, 2191, 15146, 15147
)
AND a.product_id = 0
AND a.status = 'A'
ORDER BY
a.position