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