Run query to database query mob ai