Query the database for all messages containing the specified keyword(s)