If an entity has a collection (either entities or components), then loading the collection from audit tables one query is issued per element of collection rather than issuing one query for the whole collection. Because of this while loading huge object graphs from audit tables, large number of queries are issued and taking long time to load the data.
Default option to load collections should be changed from "extra lazy collection fetch" to "lazy collection fetch".
More details can be found at the discussion in the forum:
Works fine with in-memory database like H2 but for MySQL5 generates too many queries.