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