QUERY PLAN
Seq Scan on tbl_logins (cost=0.00..8.23 rows=1 width=20)
Filter: ((channel_id IS NOT NULL) AND (id <> 1000) AND (id = 1000))