QUERY PLAN
Limit (cost=27182.81..27182.81 rows=1 width=957)
-> Sort (cost=27182.81..27182.81 rows=1 width=957)
Sort Key: id DESC
-> Gather (cost=1000.00..27182.80 rows=1 width=957)
Workers Planned: 2
-> Parallel Seq Scan on tbl_api_log a (cost=0.00..26182.70 rows=1 width=957)
Filter: ((url ~~* '%cancel%'::text) AND (device_type = '2'::smallint) AND ((schema)::text = 'a57be577deb434'::text))