chat_id=2f9b61cc-21fd-473b-80c1-0bb95c3814ec messages=10000

Limit  (cost=0.29..5.61 rows=50 width=65) (actual time=0.007..0.014 rows=50 loops=1)
  Buffers: shared hit=3
  ->  Index Scan using messages_chat_created_id_idx on messages  (cost=0.29..1013.57 rows=9523 width=65) (actual time=0.006..0.010 rows=50 loops=1)
        Index Cond: (chat_id = '2f9b61cc-21fd-473b-80c1-0bb95c3814ec'::uuid)
        Buffers: shared hit=3
Planning:
  Buffers: shared hit=34
Planning Time: 0.138 ms
Execution Time: 0.041 ms
