you already paid me one so you're fine! ;)
The query is doing FTS (Full Table Scan) on both tables, which is not good (you can see...
can you supply the output of the following?
EXPLAIN EXTENDED SELECT * FROM mail_db WHERE mail_db.user_id = 21 AND mail_db.uidl...
Separate names with a comma.