select * from b where current_address like concat('/artices/','表A.ID%')
union all select * from b where current_address like concat('/其他路径/','表A.ID%')
union all select * from b where current_address like concat('/其他路径2/','表A.ID%')
。。。
删掉like左边百分号,这样可以用到索引