SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}Поморие{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}' OR prCity = 'Поморие' OR prZip = 'Поморие' OR prStreet LIKE '{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}Поморие{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}' OR prCountry = 'Поморие') AND (prLocation LIKE '{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}България{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}' OR prCity = 'България' OR prZip = 'България' OR prStreet LIKE '{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}България{ce66a74df486f410762b3c891ccfa3f21052b9cead5fe31ad71de488f7af5eae}' OR prCountry = 'България')