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