Add ONLY_FULL_GROUP_BY note, unfortunatly MySQL 5.7.5 is required
Remove uniqid() for session pass (not important)