Limit (cost=0.41..8.43 rows=1 width=63) (actual time=0.006..0.020 rows=51 loops=1) Buffers: shared hit=55 -> Index Scan using idx_messages_chat_created_id on messages (cost=0.41..8.43 rows=1 width=63) (actual time=0.005..0.017 rows=51 loops=1) Index Cond: ((chat_id = 'ece4a4b7-928a-421b-9d3b-3e8862cd6cfb'::uuid) AND (ROW(created_at, id) > ROW('2026-10-23 13:45:09+00'::timestamp with time zone, '7163b456-0577-4bf8-b7a5-1d749bffa19f'::uuid))) Buffers: shared hit=55 Planning: Buffers: shared hit=32 Planning Time: 0.077 ms Execution Time: 0.033 ms CHAT_ID ece4a4b7-928a-421b-9d3b-3e8862cd6cfb SEEDED 10000