SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}Planegg{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCity = 'Planegg' OR prZip = 'Planegg' OR prStreet LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}Planegg{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCountry = 'Planegg') AND (prLocation LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}-{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCity = '-' OR prZip = '-' OR prStreet LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}-{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCountry = '-') AND (prLocation LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}Martinsried{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCity = 'Martinsried' OR prZip = 'Martinsried' OR prStreet LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}Martinsried{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCountry = 'Martinsried') AND (prLocation LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}Germany{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}Germany{fb283ad909993231f5552997951fce56357aef502e11b6f024adbd2ced6026c4}' OR prCountry = 'Germany')