optimized RadiusAccounting queries to take advantages of MySQL indexes