SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}Lauf{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCity = 'Lauf' OR prZip = 'Lauf' OR prStreet LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}Lauf{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCountry = 'Lauf') AND (prLocation LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}an{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCity = 'an' OR prZip = 'an' OR prStreet LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}an{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCountry = 'an') AND (prLocation LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}der{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCity = 'der' OR prZip = 'der' OR prStreet LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}der{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCountry = 'der') AND (prLocation LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}Pegnitz{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCity = 'Pegnitz' OR prZip = 'Pegnitz' OR prStreet LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}Pegnitz{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCountry = 'Pegnitz') AND (prLocation LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}Germany{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}Germany{9a5b15b646754320dfa77446edd55d71b1bbd7d691bd859bbe79aa075f67d301}' OR prCountry = 'Germany')