 Limit  (cost=0.29..4.45 rows=50 width=64) (actual time=0.030..0.039 rows=50 loops=1)
   Buffers: shared hit=3
   ->  Index Scan using messages_chat_created_id_idx on messages
         Index Cond: (chat_id = '...'::uuid)
         Buffers: shared hit=3
 Planning Time: 0.560 ms
 Execution Time: 0.069 ms