SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}Бистрица{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}' OR prCity = 'Бистрица' OR prZip = 'Бистрица' OR prStreet LIKE '{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}Бистрица{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}' OR prCountry = 'Бистрица') AND (prLocation LIKE '{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}България{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}' OR prCity = 'България' OR prZip = 'България' OR prStreet LIKE '{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}България{e864f5fba76a38d960f9d99e2a4692b815b9f0b912b537052decb97eaae4ee3d}' OR prCountry = 'България')