get last 20 message query