Speeding up dashboard display by pulling last record for apikey based on timestamps.