QUERY PLAN
Limit (cost=5817.95..5818.00 rows=20 width=231)
-> Sort (cost=5790.40..5916.03 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)