I didn't think the following query was overly complex, but apparently it is, as I found this in the slow queries log on my web server.

Thoughts?

# Wed Jan 23 10:13:04 2013
# Query_time: 1.543565 Lock_time: 0.000131 Rows_sent: 0 Rows_examined: 392771
SET timestamp=1358961184;
SELECT loginID FROM logins WHERE uID = '12392' and loginDate like '2013-01-23%'