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