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