SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}Aachen{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCity = 'Aachen' OR prZip = 'Aachen' OR prStreet LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}Aachen{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCountry = 'Aachen') AND (prLocation LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}/{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}/{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCountry = '/') AND (prLocation LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}Mitte{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCity = 'Mitte' OR prZip = 'Mitte' OR prStreet LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}Mitte{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCountry = 'Mitte') AND (prLocation LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}Germany{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}Germany{47a80bb37526e1c16af810283cffbe0751d43d65f966c7576d0265dcc5805e9a}' OR prCountry = 'Germany')