SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}Langweid{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCity = 'Langweid' OR prZip = 'Langweid' OR prStreet LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}Langweid{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCountry = 'Langweid') AND (prLocation LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}am{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}am{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCountry = 'am') AND (prLocation LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}Lech{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCity = 'Lech' OR prZip = 'Lech' OR prStreet LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}Lech{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCountry = 'Lech') AND (prLocation LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}Germany{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}Germany{ea2f9d11234b39aed7b69a30101186564d8ee3693087c16c4bc29ff34865bbcc}' OR prCountry = 'Germany')