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