QUERY PLAN
Sort (cost=5.46..5.51 rows=18 width=12)
Sort Key: created_at DESC
-> Seq Scan on tbl_punch_leaves (cost=0.00..5.09 rows=18 width=12)
Filter: (created_by = 1000)