SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}Bayreuth{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}' OR prCity = 'Bayreuth' OR prZip = 'Bayreuth' OR prStreet LIKE '{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}Bayreuth{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}' OR prCountry = 'Bayreuth') AND (prLocation LIKE '{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}Germany{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}Germany{bfcc5fa581b424dea95b09a2d0b053bfca8f5da4b2a8d7980781ab3c16a0a80d}' OR prCountry = 'Germany')