id IS NOT NULL and r_type=2 and (r_new=3) and (line1_id<>0 and station1_id<>0 and line1_id='6651' and station1_id='150' or line2_id<>0 and station2_id<>0 and line2_id='6651' and station2_id='150' or line3_id<>0 and station3_id<>0 and line3_id='6651' and station3_id='150')