SELECT 
  cscart_product_review_prepared_data.product_id AS product_id, 
  cscart_product_review_prepared_data.average_rating AS average_rating, 
  cscart_product_review_prepared_data.reviews_count AS reviews_count 
FROM 
  cscart_product_review_prepared_data 
WHERE 
  cscart_product_review_prepared_data.product_id IN (
    5778, 5779, 5780, 5781, 5782, 5783, 5784, 
    1986, 1987, 1988, 1989, 1990, 1991, 
    1992, 1993, 1994, 1995, 1996, 1997, 
    1998, 1999, 2000, 2001, 2002
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00019

JSON explain

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