QUERY PLAN
Seq Scan on tbl_logins (cost=0.00..7.86 rows=1 width=20)
Filter: ((channel_id IS NOT NULL) AND (id = ANY ('{1015,1001}'::integer[])))