QUERY PLAN
Limit (cost=3202.41..3202.42 rows=1 width=28)
-> Sort (cost=3202.41..3202.42 rows=1 width=28)
Sort Key: id DESC
-> Seq Scan on tbl_client_am_change_logs (cost=0.00..3202.40 rows=1 width=28)
Filter: ((sales_rep IS NULL) AND (end_at IS NULL) AND (client_id = 399))