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