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