QUERY PLAN
Limit (cost=0.42..1359.69 rows=20 width=982)
-> Index Scan Backward using tbl_api_log_pkey on tbl_api_log a (cost=0.42..31875.31 rows=469 width=982)
Filter: ((url ~~* '%v2/task%'::text) AND (device_type = '0'::smallint) AND ((schema)::text = 'a57be577deb434'::text))