QUERY PLAN
Limit (cost=7.30..7.30 rows=1 width=35)
-> Sort (cost=7.30..7.30 rows=1 width=35)
Sort Key: id DESC
-> Seq Scan on tbl_user_role_change_logs (cost=0.00..7.29 rows=1 width=35)
Filter: ((end_at IS NULL) AND (user_id = 5064) AND ((role_name)::text = '软件开发'::text))