QUERY PLAN
Aggregate (cost=23057.09..23057.10 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..22728.25 rows=131536 width=0)
Filter: ((schema)::text = 'a57be577deb434'::text)