Firebase contém consulta em tempo real
databaseReference.orderByChild('_searchLastName').startAt(queryText).endAt(queryText+"\uf8ff").once("value")
Inquisitive Ibis
databaseReference.orderByChild('_searchLastName').startAt(queryText).endAt(queryText+"\uf8ff").once("value")