SELECT d.* FROM 202200239_article d WHERE d.tb=2 and d.lang = 'jp' and (d.inuse = '1' or (d.inuse ='2' and d.sdate <= '2023-06-03' and d.edate >='2023-06-03')) order by d.seq desc