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