QUERY PLAN
Limit (cost=5814.40..5814.45 rows=20 width=231)
-> Sort (cost=5787.10..5912.73 rows=50253 width=231)
Sort Key: a.created_at DESC
-> Seq Scan on tbl_action_logs a (cost=0.00..2164.53 rows=50253 width=231)