Can anyone help me with optimizing MySQL query using GROUP BY on time functions? http://stackoverflow.com/questio...