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 = 'ar'
WHERE
a.product_id IN (
428427, 427728, 430953, 401174, 410003,
414674, 454104, 409191, 447293, 430593,
420431, 401982, 404064, 412826, 455161,
400935, 449270, 402248, 406597, 433624,
446080, 455290, 427919, 433335, 418284,
431392, 437836, 439945, 404692, 455805,
438918, 427972, 404415, 421393, 416786,
457753, 430469, 450047, 448348, 413081,
440081, 460754, 410561, 424471, 455506,
456958, 425735, 457743
)
AND a.status = 'A'
ORDER BY
a.position