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 = 'ja'
WHERE
a.product_id IN (
427920, 428694, 454298, 452982, 456262,
419210, 457460, 402409, 423506, 458274,
436405, 403215, 414680, 433452, 427170,
404004, 456880, 452598, 453013, 426987,
402780, 411115, 437229, 424420, 422451,
420738, 440135, 427608, 430254, 422033,
405045, 420628, 445650, 409275, 417856,
421213, 459072, 434781, 459407, 447088,
436478, 422140, 428560, 456487, 411199,
403278, 449543, 407451
)
AND a.status = 'A'
ORDER BY
a.position