QUERY PLAN
Sort (cost=5.15..5.16 rows=5 width=12)
Sort Key: created_at DESC
-> Seq Scan on tbl_punch_leaves (cost=0.00..5.09 rows=5 width=12)
Filter: (created_by = 1001)