SELECT d.* FROM 202000293_article d WHERE d.tb=7 and d.lang = 'en' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2021-10-19' and d.edate >='2021-10-19')) and (d.member_level is null or d.member_level ='' or (d.member_level='1' and d.member_level_vals like '%nologin%') ) order by d.seq desc