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