Another question, do you set the query plan cache to a size higher than the default?
Because the default of hibernate.query.plan_cache_max_size is 2048 so you shouldn't have 5600 keys.