QUERY PLAN
Limit (cost=7.28..7.29 rows=1 width=35)
-> Sort (cost=7.28..7.29 rows=1 width=35)
Sort Key: id DESC
-> Seq Scan on tbl_user_role_change_logs (cost=0.00..7.27 rows=1 width=35)
Filter: ((end_at IS NULL) AND (user_id = 1011) AND ((role_name)::text = 'Admin'::text))