Added index to Logs.channel for distinct and order by clause to remove filesort

Added index to Logs.uID for potential join to Users table