Faster implementation of RealmQuery.findFirst