mas mediq queries