Slow (over 3 sec) SQL query

It’s after import from IPB. I’ll try that.