SELECT
cscart_product_files.*,
cscart_product_file_descriptions.file_name,
cscart_product_file_descriptions.license,
cscart_product_file_descriptions.readme
FROM
cscart_product_files
LEFT JOIN cscart_product_file_descriptions ON cscart_product_file_descriptions.file_id = cscart_product_files.file_id
AND cscart_product_file_descriptions.lang_code = 'en'
WHERE
1 = 1
AND cscart_product_files.product_id = 276526
AND preview_path != ''
AND cscart_product_files.status = 'A'
ORDER BY
cscart_product_files.position asc,
cscart_product_file_descriptions.file_name asc