How can I find certain queries?
If it is related to database queries you can use Devel module.  You can configure this module http://www.example.com/admin/config/development/devel this will show you a list of slowest queries.