SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}Hohenhameln{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}' OR prCity = 'Hohenhameln' OR prZip = 'Hohenhameln' OR prStreet LIKE '{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}Hohenhameln{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}' OR prCountry = 'Hohenhameln') AND (prLocation LIKE '{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}Germany{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}Germany{9af287bde38e71549ccfe9b36f8e2d3bbf421c14e5a02c7ceadebed0f01e071f}' OR prCountry = 'Germany')