public function loadQueryData($queryId, int $status): array
    {
        $query = $this->getQuerySelectQuery();
        $query->where(
            $query->expr()->eq('q.id', ':id')
        )
        ->setParameter('id', $queryId, Type::INTEGER);

        $this->applyStatusCondition($query, $status, 'q.status');

        return $query->execute()->fetchAll(PDO::FETCH_ASSOC);
    }