SELECT
product_review_id
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 (276693)
AND cscart_product_reviews.status = 'A'
GROUP BY
cscart_product_reviews.product_review_id