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 = 'no'
WHERE
cscart_images_links.object_type = 'category_banner'
AND cscart_images_links.type = 'M'
AND cscart_images_links.object_id IS NULL
ORDER BY
cscart_images_links.position,
cscart_images_links.pair_id