reordered query string to match index... not sure if mysql cares about this