Generated in 2.144 seconds in which 0.663 seconds were spent on a total of 14 queries. Zlib compression disabled.
So it's UBB/server (i.e. not the database engine) taking the time as I assume the 0.663 seoconds on 14 queries is getting returned from MySQL.