I have a query that is very fast for large date filter
EXPLAIN ANALYZE SELECT "advertisings"."id", "advertisings"."p