SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}Onil{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}' OR prCity = 'Onil' OR prZip = 'Onil' OR prStreet LIKE '{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}Onil{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}' OR prCountry = 'Onil') AND (prLocation LIKE '{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}Spain{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}Spain{c48d68bd7cdd5163f5e9e80177150911c601f33bedd049e10f5d5f3b685144bd}' OR prCountry = 'Spain')