Hey, I got suggestion for this one going forward.
Convert the slow query log to a MyISAM table. This is possible in MySQL 5.1/5.5
Here is how you do it:
Step 1) Add this line to /etc/my.cnf
log-output=TABLE
Step 2) service mysql restart
This will create the table mysql.slow_log but as storage engine CSV.
SHOW CREATE TABLE mysql.slow_log\G
3) Convert mysql.slow_log to MyISAM and index the start_time column
SET @old_log_state = @@global.slow_query_log;
SET GLOBAL slow_query_log = 'OFF';
ALTER TABLE mysql.slow_log ENGINE = MyISAM;
ALTER TABLE mysql.slow_log ADD INDEX (start_time);
SET GLOBAL slow_query_log = @old_log_state;
Optionally, you could also add FULLTEXT index against the sql_text column, but I have never tried. IMHO, It might slow things down. Steps 1-3 should suffice.
Give it a Try !!!