Databases: Ways to optimize the PostgreSQL/TimeScaleDB query

Published --