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