QUERY PLAN
Aggregate (cost=22360.99..22361.00 rows=1 width=8)
-> Seq Scan on tbl_api_log a (cost=0.00..22042.08 rows=127565 width=0)
Filter: ((schema)::text = 'a57be577deb434'::text)