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