SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}Nikosia{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}' OR prCity = 'Nikosia' OR prZip = 'Nikosia' OR prStreet LIKE '{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}Nikosia{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}' OR prCountry = 'Nikosia') AND (prLocation LIKE '{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}Cyprus{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}Cyprus{2a6a4f5838316e6869c708faef37398a59be8691e4185a7b600afcd5623b38a5}' OR prCountry = 'Cyprus')