So far I tried to disable ALL apps and everything was back to normal.
Then re enabling one by one made me find the app that is causing the SQL loop:
it is Collaborative Tag v 1.20.0.
I tested again to validate the finding and each time I re enable this App everything is broken again.