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