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