Related questions
create index on tablename using btree((jsonb->ts)::timestamp);
Find more questions by tags PostgreSQL