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