SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}Leuna{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}' OR prCity = 'Leuna' OR prZip = 'Leuna' OR prStreet LIKE '{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}Leuna{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}' OR prCountry = 'Leuna') AND (prLocation LIKE '{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}Germany{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}Germany{67de3bee1cb17ca11f9f7e18fbd7b72cef465305686a3db31f13fe0736fea986}' OR prCountry = 'Germany')