SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}Bad{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}Bad{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}' OR prCountry = 'Bad') AND (prLocation LIKE '{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}Laasphe{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}' OR prCity = 'Laasphe' OR prZip = 'Laasphe' OR prStreet LIKE '{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}Laasphe{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}' OR prCountry = 'Laasphe') AND (prLocation LIKE '{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}Germany{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}Germany{2970642b688a32efe24469795f2e24976cd2529a908221098069b49a88d055c6}' OR prCountry = 'Germany')