SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}Lauf{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCity = 'Lauf' OR prZip = 'Lauf' OR prStreet LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}Lauf{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCountry = 'Lauf') AND (prLocation LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}an{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCity = 'an' OR prZip = 'an' OR prStreet LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}an{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCountry = 'an') AND (prLocation LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}der{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCity = 'der' OR prZip = 'der' OR prStreet LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}der{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCountry = 'der') AND (prLocation LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}Pegnitz{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCity = 'Pegnitz' OR prZip = 'Pegnitz' OR prStreet LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}Pegnitz{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCountry = 'Pegnitz') AND (prLocation LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}Germany{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}Germany{e8b075bb0ce4c97607cb9776e107c1d8e59ebd983b04b67b0f7add8cb729645e}' OR prCountry = 'Germany')