FilterItarator is a Symfony component in Laravel framework. Transaction Snaphots shows that FilterItarator::next() and FilterItarator::rewind() methods takes 10-30 seconds in a single request while web page is being served in <1 second.
What can cause this? I don't really think it takes that much time to run.