SELECT
cscart_images.*,
cscart_images_links.*,
cscart_common_descriptions.description AS alt,
cscart_images.image_id AS images_image_id
FROM
cscart_images_links
LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id
LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id
AND cscart_common_descriptions.object_holder = 'images'
AND cscart_common_descriptions.lang_code = 'en'
WHERE
cscart_images_links.object_type = 'product'
AND cscart_images_links.type = 'M'
AND cscart_images_links.object_id IN (
104633, 104632, 104631, 104630, 104629,
104628, 104627, 104626, 104625, 104624,
104623, 104622, 104621, 104620, 104619,
104618, 104617, 104616, 104615, 104614
)
ORDER BY
cscart_images_links.position,
cscart_images_links.pair_id