db->query(SELECT) to db->select()

https://github.com/modxcms/evolution/commit/f222327c3ad2df4c363fcd4c4ec2b997d7d8d163