SELECT disk, image, avg(vote) AS average, count(*) AS votes
  FROM votes
  GROUP BY disk, image
  HAVING votes > 5
  ORDER BY average DESC
  LIMIT 10