A more efficient mongodb query; $or was executing multiple queries in

parallel. I've also added delay_until to the hash that gets inserted,
to further tidy the search query.