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