QUERY PLAN
Limit (cost=2971.16..2971.17 rows=1 width=28)
-> Sort (cost=2971.16..2971.17 rows=1 width=28)
Sort Key: id DESC
-> Seq Scan on tbl_client_am_change_logs (cost=0.00..2971.15 rows=1 width=28)
Filter: ((sales_rep IS NULL) AND (end_at IS NULL) AND (client_id = 2815))