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