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