rhbz1120034 - improve push performance

- move queries outside of loop
- eager fetch needed entities to avoid n + 1
- use named query
refactor entity delete logic in test
test