send single payment reminders, sort by last_access_time, and optimize some sql queries