SELECT
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'
WHERE
a.product_id IN (
814, 798, 797, 795, 765, 764, 763, 762,
809, 810, 715, 709, 708, 705, 697, 696,
695, 693, 682, 676, 622, 620, 619, 615,
608, 607, 600, 212, 209, 206, 196, 187,
184, 181, 177, 154, 151
)
AND a.status = 'A'
ORDER BY
a.position