Deferred Loading does not work with Doctrine QueryResult
When looking into Doctrine\QueryResult, it becomes obvious that the rows are not lazily initialized on first access, but initialized all the time. This is a severe performance penalty.
In #26862 the Doctrine Query was made serializable; but it was never accessed as the QueryResult was not lazy. This needs to be fixed.