Thanks guys!
We did more tests here and it seems that as an annonymous user everything is ok. SQL take no more than 30ms.
But logging in both as an admin or as a normal user, the query take too long. Usually more than 1 second, and at least 500ms.
We are using Discourse 1.4.3 (latest stable?) at http://discourse.guj.com.br:3000 . @sam, do you recommend updating to 1.5.0-beta6?