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 = 'ru'
WHERE
a.product_id IN (
195, 199, 198, 94, 96, 201, 192, 136, 191,
90, 196, 252, 95, 197, 251, 200, 84, 85,
88, 47, 253, 138, 93, 87, 139, 83, 204,
256, 137, 248, 108, 97, 121, 286, 103,
89, 110, 82, 100, 194, 202, 203, 111,
104, 123, 118, 119, 112, 114, 116
)
AND a.status = 'A'
ORDER BY
a.position