SELECT d.* FROM 202100080_article d WHERE d.tb=5 and d.lang = 'tw' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2021-10-20' and d.edate >='2021-10-20')) order by d.seq desc