SELECT 
  rating_value, 
  COUNT(1) count 
FROM 
  cscart_product_reviews 
WHERE 
  `product_id` = 4742 
  AND `status` = 'A' 
GROUP BY 
  rating_value

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}