SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}Bad{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}Bad{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}' OR prCountry = 'Bad') AND (prLocation LIKE '{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}Bertrich{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}' OR prCity = 'Bertrich' OR prZip = 'Bertrich' OR prStreet LIKE '{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}Bertrich{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}' OR prCountry = 'Bertrich') AND (prLocation LIKE '{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}Germany{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}Germany{7de73d510d0fcbe270ca4985a95bdf27dc46fb03bcda38397a8d2d1ae6c25914}' OR prCountry = 'Germany')