I have a query that is done in 600ms. How to improve it - I'm thinking that line with date comparison is a key
select
sensor_id,
sum(val)
from tests
where
sensor_id in (34,35) --index on this column
and date_trunc('month', audit_date) = date_trunc('month', current_date)
group by sensor_id;
