From the performance test we ran in https://docs.google.com/spreadsheets/d/1eaOZhSoTyZ3k_0905_3BSDZpViz3WbTTJGQzGdoTsnI/edit?usp=sharing
curl --location -g --request GET 'http://localhost:8080/pdb/query/v4?query=["from", "nodes", ["extract", ["certname", "report_timestamp", "latest_report_hash"], ["=", "node_state", "active"]]]'
is an outlier and we should investigate if this query can be rewritten in a more efficient way or if we can make changes to the query engine in order to improve it's performance