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