mysql Quiz leaderboard filter by points, time taken
Solution to the query:

select *
from (
  select *
  from ProQzQuizReport
  order by points desc, time_spend asc) a
group by user_id;


http://sqlfiddle.com/#!2/65fbf0/9