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 (
3351, 78822, 3316, 3317, 2512, 3326,
3327, 3374, 3331, 3335, 3377, 3376,
3313, 3368, 3311, 3315, 3314, 3310,
3312, 3330, 3332, 3333, 3334, 3336,
3337, 3338, 3339, 3340, 3341, 3342,
3343, 3344, 3345, 3346, 3347, 3318,
3319, 3320, 3322, 3321, 3328, 3324,
3323, 3329, 3354, 3378, 3379, 3355,
3369, 3371, 3356, 3357, 3358, 3359,
3360, 3361, 3362, 3363, 3364, 3365,
3366, 3367, 3373, 3375
)
AND a.status = 'A'
ORDER BY
a.position