QUERY PLAN
Sort (cost=3.69..3.72 rows=13 width=12)
Sort Key: created_at DESC
-> Seq Scan on tbl_punch_leaves (cost=0.00..3.45 rows=13 width=12)
Filter: (created_by = 1000)