SELECT
cscart_product_reviews.*,
cscart_users.company_id as reply_company_id,
cscart_companies.company as reply_company,
cscart_country_descriptions.country as country
FROM
cscart_product_reviews
LEFT JOIN cscart_users ON cscart_product_reviews.reply_user_id = cscart_users.user_id
LEFT JOIN cscart_companies ON cscart_users.company_id = cscart_companies.company_id
LEFT JOIN cscart_country_descriptions ON cscart_product_reviews.country_code = cscart_country_descriptions.code
AND cscart_country_descriptions.lang_code = 'en'
WHERE
1
AND cscart_product_reviews.product_id IN (276641)
AND cscart_product_reviews.status = 'A'
ORDER BY
cscart_product_reviews.product_review_timestamp desc
LIMIT
0, 10