PERF: optimise new/unread query
PERF: optimise new/unread query

This is part 1 of the work, need some internal cleanup to follow

new query seems to handle very large sets very efficiently

natefinch/discourse,natefinch/discourse